document.write( "Question 90472: Please help me figure the following problem out. Thank you\r
\n" ); document.write( "\n" ); document.write( "One leg of a right triangle is 6 cm longer than the other leg. The length of the hypothenuse of the triangle is 18 cm. Find the length of the two legs?
\n" ); document.write( "

Algebra.Com's Answer #65672 by malakumar_kos@yahoo.com(315)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "\n" ); document.write( " One leg of a right triangle is 6 cm longer than the other leg. The length of the hypothenuse of the triangle is 18 cm. Find the length of the two legs?\r
\n" ); document.write( "\n" ); document.write( " Let the length of the smaller leg be = x cm
\n" ); document.write( "
\n" ); document.write( " the length of the longer leg = x+6 cm
\n" ); document.write( "
\n" ); document.write( " hypotenuse = 18 cm
\n" ); document.write( " According to pythagorous theorem(hypotenuse)^2= (smaller leg )^2+(longer leg)^2
\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( " (18)^2 = x^2+(x+6)^2\r
\n" ); document.write( "\n" ); document.write( " 324 = x^2+x^2+12x+36\r
\n" ); document.write( "\n" ); document.write( " 2x^2+12x+36-324 = 0\r
\n" ); document.write( "\n" ); document.write( " 2x^2+12x-288 = 0
\n" ); document.write( " divide by 2 throughout\r
\n" ); document.write( "\n" ); document.write( " x^2+6x-144 = 0 since we cannot factorise 144 exactly we have to use the formula x = -b+-sqrtb^2-4ac divided by 2a\r
\n" ); document.write( "\n" ); document.write( " on simplifying we get x = -3+-sqrt 153. \r
\n" ); document.write( "\n" ); document.write( " the longer side will be +3+-sqrt 153
\n" ); document.write( "
\n" );