document.write( "Question 553647: This is my math question but im not sure how to solve it. One leg of a right triangle is 6in. longer than the other leg, the hypotenuse of the triangle is 25in. What is the length of each leg to the nearest inch? Please help :) \n" ); document.write( "
Algebra.Com's Answer #361047 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
Let \"x\" be the length (in inches) of the shorter leg.
\n" ); document.write( "Then, the length (in inches) of the other leg would be
\n" ); document.write( "\"x%2B6\"
\n" ); document.write( "Pythagoras' theorem, applied to that triangle, tells you that
\n" ); document.write( "\"%28x%2B6%29%5E2%2Bx%5E2=25%5E2\" --> \"x%5E2%2B12x%2B36%2Bx%5E2=25%5E2\"
\n" ); document.write( "--> \"2x%5E2%2B12x%2B36-25%5E2=0\" --> \"2x%5E2%2B12x-589=0\"
\n" ); document.write( "Using the quadratic formula we find 2 values for \"x\"
\n" ); document.write( " ,
\n" ); document.write( "but we can only use the positive solution
\n" ); document.write( "\"x+=%28-12+%2B-+sqrt%284856%29%29%2F4=-3+%2B-+sqrt+%281214%29%2F2\" = approximately \"14.42125\" .
\n" ); document.write( "Then, the other leg length is about \"6%2B14.42125=20.42125\" .
\n" ); document.write( "So the leg lengths, to the nearest inch, are 14 inches and 20 inches.
\n" ); document.write( "
\n" );