If a young man drives his vehicle at 25 km/hr, he has to spend Rs. 2 per km on petrol. If he drives it at a faster speed of 40 km/hr, the petrol cost increases to Rs. 5 per km. He has Rs. 100 to spend on petrol and travel within one hour. The maximum distance he travels is:
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → 30 km
Let him travel x km at 25 km/hr and y km at 40 km/hr. This is a linear programming problem:
Maximise \(Z = x+y\)
Cost: \(2x+5y \le 100\)
\( \displaystyle \text{Time: } \frac{x}{25}+\frac{y}{40} \le 1, \text{ that is } 8x+5y \le 200 \)
\(x \ge 0,\ y \ge 0\)
The lines meet the axes at (50, 0), (0, 20) for the cost line and (25, 0), (0, 40) for the time line. The two lines meet where
\(8x+5y = 200\)
\(2x+5y = 100\)
\( \displaystyle 6x = 100, \text{ so } x = \frac{50}{3}, \ y = \frac{40}{3} \)
The corner points of the feasible region are (0, 0), (25, 0), (50/3, 40/3) and (0, 20):
\(Z(0, 0) = 0\)
\(Z(25, 0) = 25\)
\(Z(0, 20) = 20\)
\( \displaystyle Z\left(\frac{50}{3}, \frac{40}{3}\right) = \frac{90}{3} = 30 \)
The maximum distance is 30 km.