document.write( "Question 283712: one leg of a right triangle is 6cm shorter than the other leg. the length of the hypotenuse is 30cm. find the length of the longer leg. \n" ); document.write( "
Algebra.Com's Answer #205898 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
one leg of a right triangle is 6cm shorter than the other leg. the length of the hypotenuse is 30cm. find the length of the longer leg.
\n" ); document.write( "---------------------
\n" ); document.write( "one leg: x
\n" ); document.write( "other leg: x-6
\n" ); document.write( "hyp = 30
\n" ); document.write( "----------------------------------
\n" ); document.write( "Pythagoras:
\n" ); document.write( "x^2 + (x-6)^2 = 30^2
\n" ); document.write( "x^2 + x^2-12x+36 = 900
\n" ); document.write( "2x^2 -12x - 864 = 0
\n" ); document.write( "x^2 - 6x - 432 = 0
\n" ); document.write( "(x+18)(x-24) = 0
\n" ); document.write( "Positive solution:
\n" ); document.write( "x = 24 cm (one leg)
\n" ); document.write( "x-6 = 18 cm (other leg)
\n" ); document.write( "=========================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );