document.write( "Question 177827: Quadratic Equations
\n" ); document.write( "The hypotenuse of a right triangle measures 20cm. The sum of the lengths of the legs is 28cm. Find the length of each leg of the triangle.
\n" ); document.write( "

Algebra.Com's Answer #132813 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
The hypotenuse of a right triangle measures 20cm. The sum of the lengths of the legs is 28cm. Find the length of each leg of the triangle.
\n" ); document.write( ":
\n" ); document.write( "let x = one leg of the triangle
\n" ); document.write( "then
\n" ); document.write( "(28-x) = other leg
\n" ); document.write( ";
\n" ); document.write( "Pythagorus states
\n" ); document.write( "x^2 + (28-x)^2 = 20^2
\n" ); document.write( ";
\n" ); document.write( "x^2 + (784 - 56x + x^2) = 400
\n" ); document.write( ":
\n" ); document.write( "x^2 + x^2 - 56x + 784 - 400 = 0
\n" ); document.write( ":
\n" ); document.write( "2x^2 - 56x + 384 = 0
\n" ); document.write( "simplify, divide by 2
\n" ); document.write( "x^2 - 28x + 192 = 0
\n" ); document.write( "Factor
\n" ); document.write( "(x - 16)(x - 12) = 0
\n" ); document.write( "two solutions
\n" ); document.write( "x = 16, then the other leg = 12
\n" ); document.write( "x = 12, then the other leg = 16
\n" ); document.write( "
\n" );