document.write( "Question 193575: I'm sorry. I know this problem is very similar to the example, but I get a very crazy answer when I've tried to do this like the example many times. I must be doing something wrong. Please help. \r
\n" ); document.write( "\n" ); document.write( "One leg of a right triangle is 96 inches. Find the hypotenuse and teh other leg if the length of the hypotenuse exceeds 2 and 1/2 times teh other leg by 4 inches.
\n" ); document.write( "

Algebra.Com's Answer #145298 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
One leg of a right triangle is 96 inches. Find the hypotenuse and teh other leg if the length of the hypotenuse exceeds 2 and 1/2 times teh other leg by 4 inches.
\n" ); document.write( ".
\n" ); document.write( "Let x = length of \"other leg\" of triangle
\n" ); document.write( "then
\n" ); document.write( "(5/2)x-4 = hypotenuse
\n" ); document.write( ".
\n" ); document.write( "The applying the Pythagorean theorem:
\n" ); document.write( "x^2 + ((5/2)x-4) = 96^2
\n" ); document.write( "x^2 + ((5/2)x-4)((5/2)x-4) = 96^2
\n" ); document.write( "x^2 + (25/4)x^2-20x +16 = 96^2
\n" ); document.write( "(29/4)x^2-20x +16 = 9216
\n" ); document.write( "(29/4)x^2-20x -9200 = 0
\n" ); document.write( "29x^2 - 80x -36800 = 0
\n" ); document.write( "Solving using the quadratic equation we get:
\n" ); document.write( "x ={37.03, -34.26}
\n" ); document.write( "Throwing away the negative solution we're left with:
\n" ); document.write( "x = 37.03 inches (other leg)
\n" ); document.write( ".
\n" ); document.write( "Hypotenuse:
\n" ); document.write( "(5/2)x-4 = (5/2)37.03-4 = 88.58 inches (hypotenuse)
\n" ); document.write( ".
\n" ); document.write( "Details of the quadratic equation:
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation with variable
Quadratic equation \"ax%5E2%2Bbx%2Bc=0\" (in our case \"29x%5E2%2B-80x%2B-36800+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"x%5B12%5D+=+%28b%2B-sqrt%28+b%5E2-4ac+%29%29%2F2%5Ca\"
\n" ); document.write( "
\n" ); document.write( " For these solutions to exist, the discriminant \"b%5E2-4ac\" should not be a negative number.
\n" ); document.write( "
\n" ); document.write( " First, we need to compute the discriminant \"b%5E2-4ac\": \"b%5E2-4ac=%28-80%29%5E2-4%2A29%2A-36800=4275200\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=4275200 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28--80%2B-sqrt%28+4275200+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%28-80%29%2Bsqrt%28+4275200+%29%29%2F2%5C29+=+37.028546160883\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%28-80%29-sqrt%28+4275200+%29%29%2F2%5C29+=+-34.2699254712278\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"29x%5E2%2B-80x%2B-36800\" can be factored:
\n" ); document.write( " \"29x%5E2%2B-80x%2B-36800+=+29%28x-37.028546160883%29%2A%28x--34.2699254712278%29\"
\n" ); document.write( " Again, the answer is: 37.028546160883, -34.2699254712278.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+29%2Ax%5E2%2B-80%2Ax%2B-36800+%29\"

\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );