SOLUTION: Juan is driving on the highway. He begins the trip with 18 gallons of gas in his car. The car uses up one gallon of gas every 20 miles. Let G represent the number of g

Algebra ->  Coordinate Systems and Linear Equations  -> Linear Equations and Systems Word Problems -> SOLUTION: Juan is driving on the highway. He begins the trip with 18 gallons of gas in his car. The car uses up one gallon of gas every 20 miles. Let G represent the number of g      Log On


   



Question 941811: Juan is driving on the highway. He begins the trip with
18
gallons of gas in his car. The car uses up one gallon of gas every
20
miles.
Let
G
represent the number of gallons of gas he has left in his tank, and let
D
represent the total distance (in miles) he has traveled. Write an equation relating
G
to
D
, and then graph your equation using the axes below.

Answer by josmiceli(19441) About Me  (Show Source):
You can put this solution on YOUR website!
[( 1 gallon ) / ( 20 mi )] x D = ( gallons used )
+%28+1%2F20+%29%2AD+ = gallons used
for instance, if he travels +D+=+40+ mi, then
( gallons used ) = +2+
---------------------------
( gallons left in tank ) = ( 18 gallons ) - ( gallons used )
+G+=+18+-+%28+1%2F20+%29%2AD+
-----------------------
This is the equation to use, but if you have to graph it,
you need to decide which variable is dependent and
which variable is independent.
You have to choose between:
(1) G depends on D
OR
(2) D depends on G
----------------------
(1) is correct, because the gallons I have left in my tank
DEPENDS on how far I have driven
----------------------
So, G is the DEPENDENT variable, and that makes
D the INDEPENDENT variable
----------------------
The independent variable is always plotted on the
horizontal axis
The dependent variable is always plotted on the
vertical axis
-----------------------
So, I want my equation to look like:
+G+=+f%28+D+%29+, so it is correct as shown:
+G+=+18+-+%28+1%2F20+%29%2AD+
Here's the plot:
+graph%28+400%2C+400%2C+-50%2C+500%2C+-10%2C+22%2C+18+-+%28+1%2F20+%29%2Ax+%29+
The graph looks OK
If +D+=+0+, +G+=+18+
If +D+=+360+, +g+=+0+