25.4k views
0 votes
What is the equation, in slope-intercept form, that relates the cost compared to the miles traveled for a Green Cab?

What is the equation, in slope-intercept form, that relates the cost compared to the-example-1
User Kasra
by
8.4k points

1 Answer

0 votes

Explanation:

the general slope intercept form is

y = ax + b

a is the slope. it is expressed as ratio of y change / x change when going from one point to another.

b is the y-intercept (the point, where the line crosses the y-axis, meaning the y value when x=0).

we get b by using the point coordinates in the equation and solve for b.

we see costs is on the y axis, and miles is on the x axis.

so what points do we identify on the chart for the green taxi ?

there is right on the y-axis (0, 5). which is already our y-intercept.

and then let's pick e.g. the point where both lines intercept : (3, 8).

for the slope we look at the coordinate changes :

x changes by +3 (from 0 to 3).

y changes by +3 (from 5 to 8).

so, the slope is 3/3 = 1.

and again, the y- intercept is +5.

therefore, the line equation is

y = x + 5

meaning the cost of a fare is the number of miles plus 5.

User StenW
by
9.1k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.