Andy C. answered 01/16/18
Tutor
4.9
(27)
Math/Physics Tutor
Cost is a function of Distance.
C(d) = M*d + B where C(d) is the cost function, M is the slope, d is the distance (independent var) and B is the y-intercept
(5,14)
(10,22)
The slope is (22 - 14)/(10-5) = 8/5
B = C - M*d
= 22 - (8/5)*10 <--- uses point (10,22) so C=22 when d=10
= 22 - 16
= 6
C(d) = (8/5)d + 6