document.write( "Question 76179: I need to find three sides of a right triangle by using the pythagorean theorem. The info I have is: leg1: x, leg2: 40-(2x+2), hypotenuse: x+2. \n" ); document.write( "
Algebra.Com's Answer #54667 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
I need to find three sides of a right triangle by using the pythagorean theorem. The info I have is: leg1: x, leg2: 40-(2x+2), hypotenuse: x+2.
\n" ); document.write( ":
\n" ); document.write( "If you find x, we can find all three sides:
\n" ); document.write( ":
\n" ); document.write( "a^2 + b^2 = c^2
\n" ); document.write( "x^2 + (40 -(2x+2))^2 = (x+2)^2
\n" ); document.write( "x^2 + (40 - 2 -2x)^2 = (x+2)^2
\n" ); document.write( "x^2 + (38 - 2x)^2 = (x+2)^2
\n" ); document.write( "x^2 + 1444 - 152x + 4x^2 = x^2 + 4x + 4
\n" ); document.write( "x^2 + 4x^2 - x^2 - 152x - 4x + 1444 - 4 = 0
\n" ); document.write( "4x^2 - 156x + 1440 = 0
\n" ); document.write( ":
\n" ); document.write( "Divide equation by 4
\n" ); document.write( "x^2 - 39x + 360 = 0
\n" ); document.write( ":
\n" ); document.write( "Factors to:
\n" ); document.write( "(x - 15)(x - 24) = 0
\n" ); document.write( "x = +15
\n" ); document.write( "x = +24
\n" ); document.write( ":
\n" ); document.write( "Leg 1 = 15;
\n" ); document.write( "Leg 2 = 40 -(2(15) + 2 = 40 - 32 = 8
\n" ); document.write( "Leg 3 = 15 + 2 = 17
\n" ); document.write( ":
\n" ); document.write( "Check: 15^2 + 8^2 = 17^2
\n" ); document.write( ":
\n" ); document.write( "Leg 1 = 24
\n" ); document.write( "Leg 2 = 40 -(2(24) + 2) = 40 - 50 = -10 so, x = 24 is not a solution
\n" ); document.write( ":
\n" ); document.write( "Did this help?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );