document.write( "Question 305289: Write the equation and then solve.\r
\n" ); document.write( "\n" ); document.write( "a) One leg of a right triangle is four less than twice the other.
\n" ); document.write( "The hypotenuse is 10. Find the length of each leg.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Please help me solve this equation.
\n" ); document.write( "

Algebra.Com's Answer #218628 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
Write the equation and then solve.
\n" ); document.write( "a) One leg of a right triangle is four less than twice the other.
\n" ); document.write( "The hypotenuse is 10. Find the length of each leg.
\n" ); document.write( "-------------------
\n" ); document.write( "1st side = x
\n" ); document.write( "2nd side = 2x-4
\n" ); document.write( "\"x%5E2+%2B+%282x-4%29%5E2+=+10%5E2\"
\n" ); document.write( "\"5x%5E2+-+16x+%2B+16+=+100\"
\n" ); document.write( "\"5x%5E2+-+16x+-+84+=+0\"
\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 \"5x%5E2%2B-16x%2B-84+=+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-16%29%5E2-4%2A5%2A-84=1936\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=1936 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28--16%2B-sqrt%28+1936+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%28-16%29%2Bsqrt%28+1936+%29%29%2F2%5C5+=+6\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%28-16%29-sqrt%28+1936+%29%29%2F2%5C5+=+-2.8\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"5x%5E2%2B-16x%2B-84\" can be factored:
\n" ); document.write( " \"5x%5E2%2B-16x%2B-84+=+%28x-6%29%2A%28x--2.8%29\"
\n" ); document.write( " Again, the answer is: 6, -2.8.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+5%2Ax%5E2%2B-16%2Ax%2B-84+%29\"

\n" ); document.write( "\n" ); document.write( "-----------------
\n" ); document.write( "Ignore the negative solution
\n" ); document.write( "x = 6
\n" ); document.write( "2x - 4 = 8
\n" ); document.write( "--> 6, 8 & 10 triangle
\n" ); document.write( "
\n" ); document.write( "
\n" );