Raymond B. answered 05/10/21
Math, microeconomics or criminal justice
You drove 50 miles with 2.5 gallons. That's 50/2.5 = 20 miles per gallon
23 to 73 is 50 miles. 15-12.5 = 2.5 gallons
(23,15) and (73,12.5) are two points on the graph of a line with slope = (15-12.5)/(23-73) = -2.5/50 =-1/20 That slope is the negative inverse of miles per gallon. It's the slope of a perpendicular line.
at the 100 mile marker, you've gone another 100-73 = 27 miles. At 20 mpg, you've used 27/20 = 1.35 gallons. 12.5-1.35 = 11.15 gallons left = 11 gal. rounded off to nearest gallon.
The graph of the line through the two points (23,15) and (73,12.5) is a downward sloping straight line, but close to flat, just slightly downward sloping.
It's equation is y=(-1/20)x + b, solve for b by plugging in either point
15=(-1/20)23 + b
b = 15+23/20 = 16 3/20 = 16.15
y=(-1/20)x + 16.15 or
y=-0.05x + 16.15
if you change dependent to independent variables, that's switching x and y
x = -0.05y + 16.15
then solve for y
-0.05y = x-16.15
y =(-1/0.05)x + 16.15/.05
y =-20x + 323
has rate of change that's much more negative, it's the inverse of the slope of y= (-1/20)x +16.15
y=-20x +323
23 =-20(15) +323 = 323-300
73 =-20(12.5) + 323 = 323-250
100=-20(11.15) + 323 = 323 - 223