80.0k views
5 votes
write an equation for the linear function that relates the number of miles to the number of gallons of gas

write an equation for the linear function that relates the number of miles to the-example-1
User Shadoe
by
3.7k points

1 Answer

3 votes

First, let's calculate the slope using points


\begin{gathered} (0,0) \\ \text{and} \\ (3,60) \end{gathered}

This way,


m=(60-0)/(3-0)\Rightarrow m=20

Now, using this slope, point (0, 0) and the slope-point form,


y-0=20(x-0)\Rightarrow y=20x

We get that the equation is y = 20x

User Vishakh
by
3.4k points