Given:
The graph of cost of taxi with respect to number of miles.
To find:
The formula for C in terms of n.
Solution:
In the given graph x axis represents the number of miles (n) and y-axis represents the cost of taxi (C).
From the given graph it is clear that, the line passes through the points (0,3) and (5,6). So, the equation of line is
[tex]y-y_1=\dfrac{y_2-y_1}{x_2-x_1}(x-x_1)[/tex]
[tex]y-3=\dfrac{6-3}{5-0}(x-0)[/tex]
[tex]y-3=\dfrac{3}{5}(x)[/tex]
Adding 3 on both sides, we get
[tex]y=\dfrac{3}{5}x+3[/tex]
Putting y=C and x=n, we get
[tex]C=\dfrac{3}{5}n+3[/tex]
Therefore, the required formula is [tex]C=\dfrac{3}{5}n+3[/tex].