document.write( "Question 423229: one leg of a right triangle is twice as long as the other leg. the length of the hypotenuse is 20 squared. what is the length of each leg \n" ); document.write( "
Algebra.Com's Answer #295262 by oberobic(2304)\"\" \"About 
You can put this solution on YOUR website!
Assume the legs are a, b, and c.
\n" ); document.write( "c = the hypotenuse.
\n" ); document.write( "c = 20^2
\n" ); document.write( "c = 400
\n" ); document.write( ".
\n" ); document.write( "One leg is twice as long as the other.
\n" ); document.write( "a = 2b
\n" ); document.write( ".
\n" ); document.write( "The Pythagorean Theorem teaches us:
\n" ); document.write( "c^2 = a^2 + b^2
\n" ); document.write( ".
\n" ); document.write( "Substituting what we know...
\n" ); document.write( "400^2 = (2b)^2 + b^2
\n" ); document.write( "160000 = 4b^2 + b^2
\n" ); document.write( "160000 = 5b^2
\n" ); document.write( "Divide both side by 5.
\n" ); document.write( "32000 = b^2
\n" ); document.write( "Take the square root of both sides.
\n" ); document.write( "sqrt(32000) = b
\n" ); document.write( ".
\n" ); document.write( "sqrt(32 000) = 178.885438
\n" ); document.write( "so
\n" ); document.write( "b = 178.885438
\n" ); document.write( ".
\n" ); document.write( "Looking back, we see that
\n" ); document.write( "a = 2b
\n" ); document.write( "so
\n" ); document.write( "a = 2 * 178.885438
\n" ); document.write( "a = 357.770876
\n" ); document.write( ".
\n" ); document.write( "Always check your answer.
\n" ); document.write( "In this case you do so by checking to see if c^2 = a^2 + b^2.
\n" ); document.write( "Is this equation true?
\n" ); document.write( "a^2 = 128,000
\n" ); document.write( "b^2 = 32,000
\n" ); document.write( "a^2 + b^2 = 160,000
\n" ); document.write( "That checks.
\n" ); document.write( ".
\n" ); document.write( "Remember to state the answer clearly.
\n" ); document.write( "The legs of the right triangle are 178.885438 and 357.770876.
\n" ); document.write( ".
\n" ); document.write( "Done.
\n" ); document.write( "
\n" );