document.write( "Question 598456: A man travels 1 km North, 2 km East, 3 km North, and 4 km East. How far is he from the starting point? If the lengths of the legs of a triangle are a, b, find the length h of the altitude to the hypotenuse in terms of a and b. \n" ); document.write( "
Algebra.Com's Answer #378603 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
A man travels 1 km North, 2 km East, 3 km North, and 4 km East. How far is he from the starting point?
\n" ); document.write( "------------------
\n" ); document.write( "That's a total of 4 km North and 6 km East.
\n" ); document.write( "\"d+=+sqrt%28a%5E2+%2B+b%5E2%29+=+sqrt%284%5E2+%2B+6%5E2%29+=+sqrt%2852%29\"
\n" ); document.write( "d =~ 7.211 km
\n" ); document.write( "------------
\n" ); document.write( "============
\n" ); document.write( "If the lengths of the legs of a triangle are a, b, find the length h of the altitude to the hypotenuse in terms of a and b.
\n" ); document.write( "------
\n" ); document.write( "c = length of hypotenuse = sqrt(a^2 + b^2)
\n" ); document.write( "----
\n" ); document.write( "h/b = a/c
\n" ); document.write( "h = ab/c
\n" ); document.write( "h = ab/sqrt(a^2 + b^2)
\n" ); document.write( "
\n" ); document.write( "
\n" );