document.write( "Question 622706: the sides of a triangle have lengths of x, x+5, and 25. if the longest side is 25, which of the following values of x would make the right triangle? \n" ); document.write( "
Algebra.Com's Answer #391586 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!
 
\n" ); document.write( "Hi,
\n" ); document.write( "the sides of a triangle have lengths of x, x+5, and 25.
\n" ); document.write( "if the longest side is 25, which of the following values of x would make the right triangle?
\n" ); document.write( "Applying the Pythagorean Theorem:
\n" ); document.write( " x^2 + (x+5)^2 = 25^2
\n" ); document.write( " x^2 + x^2 + 10x + 25 = 625
\n" ); document.write( " 2x^2 + 10x - 600 = 0
\n" ); document.write( " x^2 + 5x - 300 = 0
\n" ); document.write( " factoring
\n" ); document.write( " (x+ 20)(x-15) = 0
\n" ); document.write( " x = 15 (throwing out negative soution for length)
\n" ); document.write( " \n" ); document.write( "
\n" );