\r\n" );
document.write( "The following depicts the situation. (The figure is not drawn to scale.)\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "The two small circles indicate the two points on level ground\r\n" );
document.write( "which are 1000 feet apart. We want to find y, the height of \r\n" );
document.write( "the hill.\r\n" );
document.write( "\r\n" );
document.write( "There are two right triangles involved here. They are these:\r\n" );
document.write( "\r\n" );
document.write( "
and
\r\n" );
document.write( "\r\n" );
document.write( "In the first right triangle the side opposite the 12°20' angle is y,\r\n" );
document.write( "and the side adjacent the 12°20' is 1000+x, so using the fact that\r\n" );
document.write( "tangent =
we have the equation\r\n" );
document.write( "from the first right triangle:\r\n" );
document.write( "\r\n" );
document.write( "tan(12°80') =
\r\n" );
document.write( "\r\n" );
document.write( "In the second right triangle the side opposite the 82°40' angle is y,\r\n" );
document.write( "and the side adjacent the 82°40' is x, so again using the fact that\r\n" );
document.write( "tangent =
we have the equation\r\n" );
document.write( "from the second triangle:\r\n" );
document.write( "\r\n" );
document.write( "tan(82°40') =
\r\n" );
document.write( "\r\n" );
document.write( "To keep from getting bogged down in notation,\r\n" );
document.write( "since those tangents are bulky to write let's let\r\n" );
document.write( "\r\n" );
document.write( "A = tan(12°20') and B = tan(82°40')\r\n" );
document.write( "\r\n" );
document.write( "Then the equations look simpler as:\r\n" );
document.write( "\r\n" );
document.write( "A =
\r\n" );
document.write( "B =
\r\n" );
document.write( "\r\n" );
document.write( "Multiplying both through by their denominators:\r\n" );
document.write( "\r\n" );
document.write( "A(1000+x) = y\r\n" );
document.write( " Bx = y\r\n" );
document.write( "\r\n" );
document.write( "We want y, not x, so we solve for x.\r\n" );
document.write( "Solving the second equation for x:\r\n" );
document.write( "\r\n" );
document.write( " x =
\r\n" );
document.write( "\r\n" );
document.write( "Substituting in the first equation:\r\n" );
document.write( "\r\n" );
document.write( "A(1000+
) = y\r\n" );
document.write( "\r\n" );
document.write( "Distribute:\r\n" );
document.write( "\r\n" );
document.write( "1000A +
= y\r\n" );
document.write( "\r\n" );
document.write( "Multiply through by B\r\n" );
document.write( "\r\n" );
document.write( "1000AB + Ay = By\r\n" );
document.write( "\r\n" );
document.write( "Get both terms in y on the right side:\r\n" );
document.write( "\r\n" );
document.write( "1000AB = By - Ay\r\n" );
document.write( "\r\n" );
document.write( "Factor out y on the right\r\n" );
document.write( "\r\n" );
document.write( "1000AB = y(B - A)\r\n" );
document.write( "\r\n" );
document.write( "Divide both sides by (B - A)\r\n" );
document.write( "\r\n" );
document.write( "
= y\r\n" );
document.write( "\r\n" );
document.write( "Now substitute A = tan(12°20') and B = tan(82°40') \r\n" );
document.write( "\r\n" );
document.write( "
= y\r\n" );
document.write( "\r\n" );
document.write( "That works out to be 224.9752003 or \r\n" );
document.write( "the hill is about 225 feet high.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" );
document.write( "