document.write( "Question 249746: A boat leaves its dock and travels for 5 miles in the direction perpendicular to the shore, then
\n" ); document.write( "makes a 48o turn and travels another 3 miles. How far is the boat from the dock?
\n" ); document.write( "

Algebra.Com's Answer #181902 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
A boat leaves its dock and travels for 5 miles in the direction perpendicular to the shore, then makes a 48 degree turn and travels another 3 miles.
\n" ); document.write( " How far is the boat from the dock?
\n" ); document.write( ":
\n" ); document.write( "Forms an oblique triangle
\n" ); document.write( "Interior angle (A): 180 - 48 = 132 degrees
\n" ); document.write( "b = 5 mi
\n" ); document.write( "c = 3 mi
\n" ); document.write( "a = dist from dock to boat (side opposite angle A)
\n" ); document.write( ":
\n" ); document.write( "Use the law of cosines
\n" ); document.write( "a^2 = b^2 + c^2 - 2bc(cos(A))
\n" ); document.write( "a^2 = 5^2 + 3^2 - 2(5*3)cos(132)
\n" ); document.write( "a^2 = 25 + 9 - 30*-.66913
\n" ); document.write( "a^2 = 34 - (-20.07)
\n" ); document.write( "a^2 = 54.07392
\n" ); document.write( "a = \"sqrt%2854.07392%29\"
\n" ); document.write( "a = 7.3535 mi from the dock
\n" ); document.write( "
\n" );