document.write( "Question 38359: A right triangle has a perimeter of 3 meters. It's hypotonuse is 130 cm. What are the lengths of the other sides? \n" ); document.write( "
Algebra.Com's Answer #23846 by fractalier(6550)\"\" \"About 
You can put this solution on YOUR website!
Let the two legs be a and b.
\n" ); document.write( "So we have a + b + 130 = 300 (300 cm is 3 m) and from the Pythagorean Theorem, we have
\n" ); document.write( "a^2 + b^2 = 130^2
\n" ); document.write( "Now solve the first equation for a and plug it in to the second equation, and solve using the factoring technique, so
\n" ); document.write( "a + b = 170
\n" ); document.write( "a = 170 - b
\n" ); document.write( "(170 - b)^2 + b^2 = 16900
\n" ); document.write( "28900 - 340b + b^2 + b^2 = 16900
\n" ); document.write( "2b^2 - 340b + 12000 = 0
\n" ); document.write( "b^2 - 170b + 6000 = 0
\n" ); document.write( "(b - 120)(b - 50) = 0
\n" ); document.write( "b = 120 or b = 50 thus
\n" ); document.write( "a = 50 or a = 120
\n" ); document.write( "
\n" );