document.write( "Question 1104227: The volume of gas in your car’s gas tank depends on the number of miles you have driven.
\n" ); document.write( "Suppose you leave home with a full tank and begin driving at a constant speed. After driving 120 miles you have 12 gallons in your tank.
\n" ); document.write( "After driving 220 miles you have 8.66 gallons in your tank.
\n" ); document.write( "Assume the relationship is linear. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a. Find a function that models this situation. (Input miles driven and output gallons of gas in your tank.)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "b. How many gallons does your gas tank hold when full?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "c. How many miles can you drive before you will run out of gas?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "d. What is your car's approximate fuel efficiency in miles per gallon?\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #718966 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
let x equal your miles.
\n" ); document.write( "let y equal the number of gallons of gas.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "it's a linear relationship.
\n" ); document.write( "the slope intercept form of a linear equation is y = mx + b
\n" ); document.write( "m is the slope
\n" ); document.write( "b is the y-intercept.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you have 2 coordinates you can work with.
\n" ); document.write( "they are (120,12) and (220,8.66)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "let the first one be (x1,y1).
\n" ); document.write( "let the second one be (x2,y2).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "m = slope = (y2-y1) / (x2-x1) = (8.66-12)) / (220-120) = -.0334
\n" ); document.write( "equation of y = mx + b becomes y = -.0334 * x + b\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "use either one of the points to find the y-intercept.
\n" ); document.write( "i'll use (120,12).
\n" ); document.write( "replace y with 12 and x with 120 to get 12 = -.0334 * 120 + b
\n" ); document.write( "solve for b to get b = 16.008\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the equation becomes y = -.0334 * x + 16.008\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when x = 0, you have a full tank.
\n" ); document.write( "when x = 120, you have -.0334 * 120 + 16.008 = 12
\n" ); document.write( "when x = 220, you have -.0334 * 220 + 16.008 = 8.66\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "to find out when the tank will be empty, set y = 0 to get 0 = -.0334 * x + 16.008.
\n" ); document.write( "subtract 16.008 from both sides of this equation to get -16.008 = -.0334 * x.
\n" ); document.write( "divide both sides of this equation by .0334 to get -16.008 / .0334 = x.
\n" ); document.write( "solve for x to get x = -16.008 / .0334 = 479.2814371.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the tank will be empty after the car has driven 479.2814371 miles.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the equation can be graphed.
\n" ); document.write( "the graph looks like this:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"$$$\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "since you tank holds 16.008 gallons of gas and you can travel 499.2814371 miles before you run out of gas, then your gas mileage is equal to 479.2814371 / 16.008 = 29.94011976 miles per gallon.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "that's approximately equal to 30 miles per gallon based on 16 gallon capacity and 480 miles range.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );