document.write( "Question 453406: In a right triangle the two legs are each 5 less than the hypotenuse. What is the hypotenuse? \n" ); document.write( "
Algebra.Com's Answer #311510 by mananth(16949)\"\" \"About 
You can put this solution on YOUR website!
let hypotenuse be x\r
\n" ); document.write( "\n" ); document.write( "the legs are (x-5)
\n" ); document.write( "By pythagoras theorem\r
\n" ); document.write( "\n" ); document.write( "(x-5)^2+(x-5)^2=x^2
\n" ); document.write( "x^2-10x+25+x^2-10x+25=x^2
\n" ); document.write( "x^2-20x+50=0\r
\n" ); document.write( "\n" ); document.write( "Find the roots of the equation by quadratic formula
\n" ); document.write( "
\n" ); document.write( "a= 1 ,b= -20 ,c= 50
\n" ); document.write( "
\n" ); document.write( "b^2-4ac=400-200
\n" ); document.write( "b^2-4ac=200
\n" ); document.write( "\"sqrt%28200%29\"=14.14
\n" ); document.write( "\"x=%28-b%2B-sqrt%28b%5E2-4ac%29%29%2F%282a%29\"
\n" ); document.write( "\"x1=%28-b%2Bsqrt%28b%5E2-4ac%29%29%2F%282a%29\"
\n" ); document.write( "x1=(20+14.14)/2
\n" ); document.write( "x1= 17.07
\n" ); document.write( "x2=(20-14.14)/2
\n" ); document.write( "x2= 2.93
\n" ); document.write( "x2 is not possible
\n" ); document.write( "hyptenuse = 17.07
\n" ); document.write( "
\n" );