document.write( "Question 974850: The hypotenuse of a right triangle is 39 ft long. The length of one leg is 21 ft more than the other. Find the lengths of the legs. \n" ); document.write( "
Algebra.Com's Answer #596659 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
c^2=a^2+b^2\r
\n" ); document.write( "\n" ); document.write( "39^2=x^2+ (x+21)^2\r
\n" ); document.write( "\n" ); document.write( "1521=x^2+ x^2+42x +441
\n" ); document.write( "2x^2+42x-1080=0
\n" ); document.write( "x^2+21x-540=0
\n" ); document.write( "
\n" ); document.write( "=(1/2) [-21 +/- sqrt (441+2160) ] sqrt (2601)=51 ;;; or (x+36) (x-15)=0
\n" ); document.write( "negative root doesn't make sense
\n" ); document.write( "x=(1/2) (-21+51)
\n" ); document.write( "x=15
\n" ); document.write( "x+21=36\r
\n" ); document.write( "\n" ); document.write( "14.5^2=225
\n" ); document.write( "35.5^2=1296
\n" ); document.write( "They add to 1521
\n" ); document.write( "
\n" ); document.write( "
\n" );