document.write( "Question 813681: The legs of a right triangle are 4 cm and x cm. The hypotenuse is (2x-1) cm. What is x? I know the answer to this question is 3 but what I can't figure out is how that solution was achieved. I tried setting up the equation like \"+4x%5E2%2Bx%5E2=%282x-1%29%5E2\" but got the wrong answer. Can you help? \n" ); document.write( "
Algebra.Com's Answer #489872 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!
 
\n" ); document.write( "Hi,
\n" ); document.write( "The legs of a right triangle are 4 cm and x cm. The hypotenuse is (2x-1) cm.
\n" ); document.write( "\"+16++%2Bx%5E2=%282x-1%29%5E2=+4x%5E2+-4x+%2B+1+\" | NOte: 16
\n" ); document.write( " 3x^2 -4x - 15= 0
\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 \"3x%5E2%2B-4x%2B-15+=+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-4%29%5E2-4%2A3%2A-15=196\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=196 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28--4%2B-sqrt%28+196+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%28-4%29%2Bsqrt%28+196+%29%29%2F2%5C3+=+3\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%28-4%29-sqrt%28+196+%29%29%2F2%5C3+=+-1.66666666666667\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"3x%5E2%2B-4x%2B-15\" can be factored:
\n" ); document.write( " \"3x%5E2%2B-4x%2B-15+=+3%28x-3%29%2A%28x--1.66666666666667%29\"
\n" ); document.write( " Again, the answer is: 3, -1.66666666666667.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+3%2Ax%5E2%2B-4%2Ax%2B-15+%29\"
\n" ); document.write( " \n" ); document.write( "
\n" );