\r\n" );
document.write( "\r\n" );
document.write( "Draw the picture. \r\n" );
document.write( "\r\n" );
document.write( "The bearing
at A means:\r\n" );
document.write( "Start by pointing North at A, which is straight upward, \r\n" );
document.write( "then from there swing 35° toward the East, which is\r\n" );
document.write( "clockwise. \r\n" );
document.write( "\r\n" );
document.write( "The bearing
at B means: \r\n" );
document.write( "Start by pointing North at B, which is straight upward, \r\n" );
document.write( "then from there swing 49° toward the West, which is\r\n" );
document.write( "counter-clockwise. \r\n" );
document.write( "\r\n" );
document.write( "Label the unknown distance to be found from A to the \r\n" );
document.write( "fire as x:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "The two angles at A are complementary, so the angle inside the triangle\r\n" );
document.write( "at A is 90°-35° or 55°. So label that one 55°.\r\n" );
document.write( "\r\n" );
document.write( "The two angles at B are also complementary, so the angle inside the triangle\r\n" );
document.write( "at B is 90°-49° or 41°. So label that one 41°.\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Now erase everything but just the triangle and its interior angles\r\n" );
document.write( "and the sides:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Since the sum of all three angles of a triangle is 180°, we can calculate\r\n" );
document.write( "the angle at the FIRE, by adding the two angles 55°+41°, getting 96°, and\r\n" );
document.write( "then subtracting that from 180° getting 84°. So label the angle at the\r\n" );
document.write( "FIRE 84°:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "The law of sines tells us that the ratio of any side to its opposite\r\n" );
document.write( "angle's sine is equal to the ratio of any other side to its opposite\r\n" );
document.write( "angle's sine. \r\n" );
document.write( "\r\n" );
document.write( "The angle opposite x is 41° and the angle opposite 20 is 84°. So,\r\n" );
document.write( "\r\n" );
document.write( "x is to sin(41°) as 20 is to sin(84°) or\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Cross multiplying:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Solve for x by dividing both sides by
\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Get your calculator:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "So the answer nearest that is 13 miles.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" );
document.write( "