document.write( "Question 118247: I need to create a linear equation or inequality that could be used for analysis, prediction, or decision making. Then, I need to draw a graph to depict the variables. Here is the catch. Last week I had to come up with a real-life situation that follows a linear equation, with the independent variable being years. My topic was grocery prices and how they continually rise. I have to use grocery prices in my linear equation or inequality. I am so confused. Can you help me? \n" ); document.write( "
Algebra.Com's Answer #86353 by tutorcecilia(2152)![]() ![]() You can put this solution on YOUR website! Let's use a linear equation for the increase in the average cost of grocery prices over years. \n" ); document.write( "Let x = the years \n" ); document.write( "Let y = grocery prices \n" ); document.write( ".\r \n" ); document.write( "\n" ); document.write( "Creating an imaginary scenario: \n" ); document.write( "Over the past five years, the average cost of groceries has risen an average of $10 per year for the same type of groceries.\r \n" ); document.write( "\n" ); document.write( "Year 2000 (x=0) = $100 \n" ); document.write( "Year 2001 (x=1) = $110 \n" ); document.write( "Year 2002 (x=2) = $120 \n" ); document.write( "Year 2003 (x=3) = $130, etc.\r \n" ); document.write( "\n" ); document.write( "To find the linear equation, first identify any two points (x, y): \n" ); document.write( "(0, 100) and (1, 110). \n" ); document.write( ". \n" ); document.write( "Next, find the slope between these two points: \n" ); document.write( "Slope=m= \n" ); document.write( "\n" ); document.write( ". \n" ); document.write( "Lastly, plug-in any point and slope into the slope-intercept formula: y-mx+b: \n" ); document.write( ". \n" ); document.write( "y=mx+b \n" ); document.write( "100=(10)(0)+b [solve for the b-value] \n" ); document.write( "100=0+b \n" ); document.write( "100=b \n" ); document.write( "so, \n" ); document.write( "y=10x+100 [the equation of the line] \n" ); document.write( ".\r \n" ); document.write( "\n" ); document.write( "Now, you can pick any year, give it a sequential number (such as 2010 = x=10)and plug it into the equation. You can now predict average cost of groceries in the year 2010.\r \n" ); document.write( "\n" ); document.write( "f(10)=(10)(10)+100 \n" ); document.write( "f(10)=$200 \n" ); document.write( ". \n" ); document.write( "So in the year 2010, you can expect to spend $200 for the same amount of groceries that cost you only $200 in the year 2000. \n" ); document.write( ".\r \n" ); document.write( "\n" ); document.write( "Analyzing the graph shows a steady increase in the cost of groceries. You can use the graph to help you budget for your families groceries in the future. You know that according to the graph, you will have to add an average of $10 per year for the increase in groceries in order to keep up with the rising cost. \n" ); document.write( ". \n" ); document.write( "Graphing y = 10x+100 \n" ); document.write( ".\r \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( " |