document.write( "Question 249420: A man stands at a point A on the bank of a straight river, 2 mi wide. To reach point B, 7 mi downstreams on the opposite bank, he first rows his boat to point P on the opposite bank and then walks the remaining distance x to B. He can row at a speed of 2 mi/h and walk at the speed of 5 mi/h. Where should he land so that he reaches B as soon as possible? \n" ); document.write( "
Algebra.Com's Answer #181712 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
A man stands at a point A on the bank of a straight river, 2 mi wide.
\n" ); document.write( " To reach point B, 7 mi downstream on the opposite bank, he first rows his boat to point P on the opposite bank and then walks the remaining distance x to B.
\n" ); document.write( " He can row at a speed of 2 mi/h and walk at the speed of 5 mi/h.
\n" ); document.write( " Where should he land so that he reaches B as soon as possible?
\n" ); document.write( ":
\n" ); document.write( "x = dist from p to b
\n" ); document.write( "The distance (d) rowed to point p is the hypotenuse:
\n" ); document.write( "d = \"sqrt%282%5E2+%2B+%287-x%29%5E2%29\"
\n" ); document.write( "d = \"sqrt%284+%2B+49+-+14x+%2B+x%5E2%29\"
\n" ); document.write( "d = \"sqrt%28x%5E2+-+14x+%2B+53%29\"
\n" ); document.write( "Time to row this dist at 2 mph
\n" ); document.write( "t = \"%28sqrt%28x%5E2+-+14x+%2B+53%29%29%2F2\"
\n" ); document.write( ":
\n" ); document.write( "Time spent walking at 5 mph = \"x%2F5\"
\n" ); document.write( ":
\n" ); document.write( "Total time (T): \"%28sqrt%28x%5E2+-+14x+%2B+53%29%29%2F2\" + \"x%2F5\"
\n" ); document.write( ":
\n" ); document.write( "Graph this and find the minimum time
\n" ); document.write( "
\n" ); document.write( ":
\n" ); document.write( "x = 6.1 mi; P to B (walking distance) Time rowing & walking; approx 2.3 hrs
\n" ); document.write( "
\n" );