document.write( "Question 239668: The hypotenuse of a right triangle is 13 cm. One leg of the triangle is 7cm longer than the other. What are the lengths of the two legs? \n" ); document.write( "
Algebra.Com's Answer #175854 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
The hypotenuse of a right triangle is 13 cm. One leg of the triangle is 7cm longer than the other. What are the lengths of the two legs?
\n" ); document.write( "-----------------------------------------
\n" ); document.write( "Let one leg be \"x\"
\n" ); document.write( "The other leg will be \"x+7\"
\n" ); document.write( "------------------
\n" ); document.write( "Equation:
\n" ); document.write( "x^2 + (x+7)^2 = 13^2
\n" ); document.write( "2x^2 + 14x + 49 - 169 = 0
\n" ); document.write( "2x^2 + 14x -120 = 0
\n" ); document.write( "x^2 + 7x - 60 = 0
\n" ); document.write( "x^2 + 12x - 5x - 60 = 0
\n" ); document.write( "x(x+12) -5(x+12) = 0
\n" ); document.write( "(x+12)(x-5) = 0
\n" ); document.write( "Positive solution:
\n" ); document.write( "x = 5 (one leg)
\n" ); document.write( "x+7 = 12 (other leg)
\n" ); document.write( "========================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" ); document.write( "
\n" );