document.write( "Question 520711: A ship leaves port and sails 12 kilometers west and then 19 kilometers north How far is the ship from port? \n" ); document.write( "
Algebra.Com's Answer #346191 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
first it travels west
\n" ); document.write( "then north
\n" ); document.write( "it takes a turn at right angles\r
\n" ); document.write( "\n" ); document.write( "so the route forms a right triangle.\r
\n" ); document.write( "\n" ); document.write( "12 & 19 are the legs and the actual distance the hypotenuse.\r
\n" ); document.write( "\n" ); document.write( "use pythagoras theorem\r
\n" ); document.write( "\n" ); document.write( "12^2+19^2=d^2\r
\n" ); document.write( "\n" ); document.write( "144+361=d^2\r
\n" ); document.write( "\n" ); document.write( "505=d^2\r
\n" ); document.write( "\n" ); document.write( "d=sqrt(505)
\n" ); document.write( "d=22.47 km\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );