A graph of the cost of gas purchased depending on the number of gallons pumped has the points (4,15) and (8,30) . What is the rate of change in the cost of the gas as each gallon is pumped?(1 point)

To find the rate of change in the cost of gas as each gallon is pumped, we can 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 the formula:

slope = (change in y)/(change in x) = (y2 - y1)/(x2 - x1)

In this case, the first point given is (4,15) with x1=4 and y1=15, and the second point is (8,30) with x2=8 and y2=30.

Plugging these values into the slope formula, we get:

slope = (30 - 15)/(8 - 4)
= 15/4

Therefore, the rate of change in the cost of gas as each gallon is pumped is 15/4.