Joel L. answered 05/05/21
Let:
C = the cost per hour
v = the speed of a locomotive
The cost of fuel to run a locomotive is proportional to the square of the speed:
C = kv2
If C = $25/h then v = 25mi/h
25 = k(25)2
k= 1/25
C= v2/25
Other cost amount to $100/h regardless of speed.
C= v2/25 + 100/v
dC/dv = 2v/25 -100/v2
To get the minimum cost, set dC/dv = 0
0= 2v/25 -100/v2
0 = (2v3 - 2500)/25v2
0 = 2v3 - 2500
-2v3 = -2500
v3 = 1250
v ≈ 10.77
Therefore, the speed that minimizes the cost per mile:
C= (10.77)2/25 + 100/10.77
C≈ $13.93/ mile