487,109 views
2 votes
2 votes
It says to write an equation for the cost in dollars, c, of attending n classes, what would be my equation?

User Ishwr
by
2.5k points

1 Answer

18 votes
18 votes

This is a straight line

Its eqaution is in the format of y = mx +c

For this problem, the equation will be C =mn + c

m = slope

c = y - intercept


\begin{gathered} m\text{ = }\frac{C_2-C_{1_{}}}{n_2-n_1} \\ C_2\text{ =160} \\ c_1\text{ =60} \\ n_2=5 \\ n_1=\text{ 0} \\ m\text{ = }(160-60)/(5-0) \\ m\text{ =20} \end{gathered}

for c

160 = 20(5) + c

c= 60, This can also be seen from the graph

The equation now is C =20n + 60

User Gavriguy
by
2.8k points