document.write( "Question 161513This question is from textbook ELEMENTARY AND INTERMEDIATE ALGEBRA
\n" ); document.write( ": A 10-ounce soft drink sells for 50 cents, and a 16-ounce
\n" ); document.write( "soft drink sells for 68 cents. The price P is determined
\n" ); document.write( "from the volume v of the cup by a linear equation.
\n" ); document.write( "a) Find the equation.
\n" ); document.write( "b) Find the price of a 20-ounce soft drink.
\n" ); document.write( "

Algebra.Com's Answer #118988 by gonzo(654)\"\" \"About 
You can put this solution on YOUR website!
x = ounces
\n" ); document.write( "y = price
\n" ); document.write( "slope intercept form of the equation is
\n" ); document.write( "y = m*x + b
\n" ); document.write( "you need 2 point on the graph to find the slope.
\n" ); document.write( "one of the points is (10,50)
\n" ); document.write( "the other point is (16,68)
\n" ); document.write( "slope is determined by the formula
\n" ); document.write( "(y-y1)/(x-x1)
\n" ); document.write( "let (x,y) = (16,68)
\n" ); document.write( "let (x1,y1) = (10,50)
\n" ); document.write( "slope is then
\n" ); document.write( "(68-50)/(16-10) = 18/6 = 3
\n" ); document.write( "slope intercept form of the equation becomes
\n" ); document.write( "y = 3*x + b
\n" ); document.write( "to solve for b, use one of the points.
\n" ); document.write( "take (x1,y1) = (10,50)
\n" ); document.write( "equation becomes
\n" ); document.write( "50 = 3*(10) + b
\n" ); document.write( "which becomes
\n" ); document.write( "50 = 30 + b
\n" ); document.write( "subtract 30 from both sides of equation to get
\n" ); document.write( "50 - 30 = b
\n" ); document.write( "which becomes
\n" ); document.write( "20 = b
\n" ); document.write( "slope intercept form of the equation is now
\n" ); document.write( "y = 3*x + 20
\n" ); document.write( "-----
\n" ); document.write( "to prove this is good, substitute the known points in the equation.
\n" ); document.write( "first use (10,50)
\n" ); document.write( "equation becomes
\n" ); document.write( "50 = 3*(10) + 20
\n" ); document.write( "50 = 30 + 20
\n" ); document.write( "50 = 50
\n" ); document.write( "equation is good for first set of points.
\n" ); document.write( "-----
\n" ); document.write( "next use (16,68)
\n" ); document.write( "equation becomes
\n" ); document.write( "68 = 3*(16) + 20
\n" ); document.write( "68 = 48 + 20
\n" ); document.write( "68 = 68
\n" ); document.write( "equation is good for the second set of points.
\n" ); document.write( "-----
\n" ); document.write( "equation is
\n" ); document.write( "y = 3*x + 20
\n" ); document.write( "use the equation to solve for when x = 20.
\n" ); document.write( "substitute 20 for x and the equation becomes
\n" ); document.write( "y = 3*(20) + 20
\n" ); document.write( "this becomes
\n" ); document.write( "y = 60 + 20
\n" ); document.write( "which becomes
\n" ); document.write( "y = 80
\n" ); document.write( "price for a 20 ounce soda would be 80 cents.
\n" ); document.write( "-----
\n" ); document.write( "graph of the equation should show that when x = 20, y = 80
\n" ); document.write( "graph of the equation is shown below.
\n" ); document.write( "x axis represents ounces of soda.
\n" ); document.write( "y axis represents cost of soda in cents.
\n" ); document.write( "\"graph+%28800%2C800%2C-10%2C30%2C-10%2C100%2C3%2Ax%2B20%29\"\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );