document.write( "Question 326843: If the longer leg of a right triangle is 1 cm longer than the shorter leg and the hypotenuse is 5 cm then what are the lengths of the legs? \n" ); document.write( "
Algebra.Com's Answer #234050 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
Let A and B be the legs.
\n" ); document.write( "\"B=A%2B1\"
\n" ); document.write( "\"H=5\"
\n" ); document.write( "Since it's a right triangle, use the Pythagorean theorem,
\n" ); document.write( "\"A%5E2%2BB%5E2=H%5E2\"
\n" ); document.write( "\"A%5E2%2B%28A%2B1%29%5E2=5%5E2\"
\n" ); document.write( "\"A%5E2%2BA%5E2%2B2A%2B1=25\"
\n" ); document.write( "\"2A%5E2%2B2A-24=0\"
\n" ); document.write( "\"A%5E2%2BA-12=0\"
\n" ); document.write( "\"%28A%2B4%29%28A-3%29=0\"
\n" ); document.write( "Only the positive solution makes sense for this problem,
\n" ); document.write( "\"A-3=0\"
\n" ); document.write( "\"highlight%28A=3%29\"
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "\"highlight%28B=4%29\"
\n" ); document.write( "
\n" );