1 answer
(click or scroll down)
To find the rate of change in the cost of gas per gallon, we need to calculate the slope of the line passing through the two given points.
The slope of a line passing through two points (x1, y1) and (x2, y2) is given by:
slope = (y2 - y1) / (x2 - x1)
In this case, the points are (4,15) and (8,30). Let's substitute the coordinates into the formula:
slope = (30 - 15) / (8 - 4)
= 15 / 4
= 3.75
Therefore, the rate of change in the cost of gas as each gallon is pumped is $3.75 per gallon.