I think the answer is to walk horizontally along the edge of the rectangle for 71.13m, then walk in a straight line to point B.
Letting w=100m (the horizontal distance from A to B) and let h=50m (the vertical distance). Let x be the number of meters to walk horizontally before going in a straight line. The total time is:
10km/hx+5km/h(w−x)2+h2
You can use calculus to find the optimal value of x=w−h/3
I think the answer is to walk horizontally along the edge of the rectangle for 71.13m, then walk in a straight line to point B.
Letting w=100m (the horizontal distance from A to B) and let h=50m (the vertical distance). Let x be the number of meters to walk horizontally before going in a straight line. The total time is:
You can use calculus to find the optimal value of x=w−h/3