document.write( "Question 1208283: A ship sailing from a port P travels 50Km in a direction 070° to reach a port T. The ship then sails from T in a direction bearing 130° and a distance of 80km to a point Q. How far will the ship sail if it travels directly from P to Q? \n" ); document.write( "
Algebra.Com's Answer #846606 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Exact Answer = 10*sqrt(129) kilometers
\n" ); document.write( "Approximate Answer = 113.5782 kilometers
\n" ); document.write( "Ask your teacher how s/he wants you to round the approximate value. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "----------------------------------------------------------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Explanation\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The compass bearing has 000° pointing directly north.
\n" ); document.write( "As you turn eastward, i.e. rotate clockwise, the angle increases.
\n" ); document.write( "045° points to the northeast
\n" ); document.write( "090° points east
\n" ); document.write( "135° points southeast
\n" ); document.write( "And so on.
\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "With that in mind, here is what the diagram looks like
\n" ); document.write( "
\n" ); document.write( "Angle APT = 70° and Angle BTQ = 130° are given
\n" ); document.write( "Points A and B are directly north of P and T respectively. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Angle BTP = 110° is found by solving the equation angleAPT+angleBTP = 180. Note how vertical segments AP and BT are parallel, which means the consecutive interior angles are supplementary.
\n" ); document.write( "Angle PTQ = 120° is determined by noting that the three angles around point T must add to 360 (you'll solve this equation: anglePTB+angleBTQ+anglePTQ = 360)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Focus on triangle PTQ.
\n" ); document.write( "To find x, the length of segment PQ, we can use the Law of Cosines.
\n" ); document.write( "c^2 = a^2 + b^2 - 2*a*b*cos(C)
\n" ); document.write( "x^2 = 50^2 + 80^2 - 2*50*80*cos(120)
\n" ); document.write( "x^2 = 50^2 + 80^2 - 2*50*80*(-1/2)
\n" ); document.write( "x^2 = 12900
\n" ); document.write( "x = sqrt(12900)
\n" ); document.write( "x = sqrt(100*129)
\n" ); document.write( "x = sqrt(100)*sqrt(129)
\n" ); document.write( "x = 10*sqrt(129) which is the exact distance
\n" ); document.write( "x = 113.578166916005
\n" ); document.write( "x = 113.5782 kilometers which is the approximate distance
\n" ); document.write( "Make sure that your calculator is set to degrees mode.
\n" ); document.write( "Ask your teacher how s/he wants you to round this approximate value. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "--------------------------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Another Approach.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Place P at the origin (0,0)
\n" ); document.write( "This is how we'll locate point T.
\n" ); document.write( "T = P + 50*( sin(70), cos(70) )
\n" ); document.write( "T = (0,0) + 50*( 0.9396926, 0.3420201 )
\n" ); document.write( "T = ( 50*0.9396926, 50*0.3420201 )
\n" ); document.write( "T = ( 46.98463, 17.101005 )
\n" ); document.write( "The decimal values are approximate.
\n" ); document.write( "Make sure that your calculator is set to degrees mode.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Normally cosine is associated with the x coordinate; however, the compass bearing angles have 000° pointing north (rather than east), so we have a 90° rotation. This 90° rotation swaps the roles of sine and cosine. Cosine is a 90° phase-shifted version of sine.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We'll follow a similar method to find where point Q is located.
\n" ); document.write( "Q = T + 80*( sin(130), cos(130) )
\n" ); document.write( "Q = ( 46.98463, 17.101005 ) + 80*( 0.7660444, -0.6427876 )
\n" ); document.write( "Q = ( 46.98463, 17.101005 ) + ( 80*0.7660444, 80*(-0.6427876) )
\n" ); document.write( "Q = ( 46.98463, 17.101005 ) + ( 61.283552, -51.423008 )
\n" ); document.write( "Q = ( 46.98463+61.283552, 17.101005+(-51.423008) )
\n" ); document.write( "Q = ( 108.268182, -34.322003 )
\n" ); document.write( "The decimal values are approximate. \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here is the calculation template for point Q's coordinates in one single line
\n" ); document.write( "Q = ( 50*sin(70)+80*sin(130), 50*cos(70)+80*cos(130) )
\n" ); document.write( "That line is based off of this
\n" ); document.write( "Q = P + 50*( sin(70), cos(70) ) + 80*( sin(130), cos(130) )\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The key takeaways are these locations
\n" ); document.write( "P = (0,0)
\n" ); document.write( "Q = ( 108.268182, -34.322003 ) which is approximate\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Use the distance formula to find that
\n" ); document.write( "PQ = sqrt( (108.268182)^2 + (-34.322003)^2 ) = 113.5782 kilometers approximately
\n" ); document.write( "The answer will vary depending on the rounding precision.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "More practice with similar questions
\n" ); document.write( "https://www.algebra.com/algebra/homework/Trigonometry-basics/Trigonometry-basics.faq.question.1200155.html
\n" ); document.write( "and
\n" ); document.write( "https://www.algebra.com/algebra/homework/Triangles/Triangles.faq.question.1182009.html
\n" ); document.write( "
\n" ); document.write( "
\n" );