document.write( "Question 540486: The altitude of a right triangle is 7 cm less than its base. If the hypotenuse is 13cm, find the other two side. \n" ); document.write( "
Algebra.Com's Answer #353713 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
let base be x
\n" ); document.write( "height = x-7\r
\n" ); document.write( "\n" ); document.write( "hypotenuse = 13\r
\n" ); document.write( "\n" ); document.write( "By Pythagoras theorem
\n" ); document.write( "leg1^2+leg2^2=13^2\r
\n" ); document.write( "\n" ); document.write( "x^2+(x-7)^2=169
\n" ); document.write( "x^2+x^2-14x+49=169
\n" ); document.write( "2x^2-14x-120=0\r
\n" ); document.write( "\n" ); document.write( "/2
\n" ); document.write( "x^2-7x-60=0
\n" ); document.write( "x^2-12x+5x-60=0
\n" ); document.write( "x(x-12)+5(x-12)=0
\n" ); document.write( "(x-12)(x+5)=0
\n" ); document.write( "Take the positive root\r
\n" ); document.write( "\n" ); document.write( "One leg =12
\n" ); document.write( "Other = 12-7=5
\n" ); document.write( "The sides are 5,12 & 13\r
\n" ); document.write( "\n" ); document.write( "m.ananth@hotmail.ca
\n" ); document.write( "
\n" );