document.write( "Question 148012: The hypontenuse of a right triangle is 15 meters. If one leg is 3 meters longer than the other, then what are the lengths of the legs? \n" ); document.write( "
Algebra.Com's Answer #108398 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
The hypontenuse of a right triangle is 15 meters. If one leg is 3 meters longer than the other, then what are the lengths of the legs?
\n" ); document.write( "---------------------
\n" ); document.write( "Short leg = S
\n" ); document.write( "\"s%5E2+%2B+%28s%2B3%29%5E2+=+15%5E2\"
\n" ); document.write( "\"s%5E2+%2B+s%5E2+%2B+6s+%2B+9+=+225\"
\n" ); document.write( "\"2s%5E2+%2B+6s+-216+=+0\"
\n" ); document.write( "\"s%5E2+%2B+3s+-+108+=+0\"
\n" ); document.write( "(s+12)*(s-9) = 0
\n" ); document.write( "s = 9, s = -12
\n" ); document.write( "Negative lengths don't work, so discard that.
\n" ); document.write( "s = 9
\n" ); document.write( "2nd side = 12
\n" ); document.write( "--------------
\n" ); document.write( "Or, use quadratic instead of factoring
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation (work shown, graph etc)
Quadratic equation \"ax%5E2%2Bbx%2Bc=0\" (in our case \"1x%5E2%2B3x%2B-108+=+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=%283%29%5E2-4%2A1%2A-108=441\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=441 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-3%2B-sqrt%28+441+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%283%29%2Bsqrt%28+441+%29%29%2F2%5C1+=+9\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%283%29-sqrt%28+441+%29%29%2F2%5C1+=+-12\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1x%5E2%2B3x%2B-108\" can be factored:
\n" ); document.write( " \"1x%5E2%2B3x%2B-108+=+%28x-9%29%2A%28x--12%29\"
\n" ); document.write( " Again, the answer is: 9, -12.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+1%2Ax%5E2%2B3%2Ax%2B-108+%29\"

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