document.write( "Question 816954: The hypotenuse of a right triangle is 9 feet long. One leg is 2 feet longer than the other. Find the length of the legs. What is the shorter leg? The longer leg? \n" ); document.write( "
Algebra.Com's Answer #491806 by TimothyLamb(4379)\"\" \"About 
You can put this solution on YOUR website!
h = sqrt( aa + bb )
\n" ); document.write( "---
\n" ); document.write( "h = 9
\n" ); document.write( "a = b + 2
\n" ); document.write( "---
\n" ); document.write( "h = sqrt( aa + bb )
\n" ); document.write( "9 = sqrt( (b + 2)(b + 2) + bb )
\n" ); document.write( "81 = (b + 2)(b + 2) + bb
\n" ); document.write( "81 = bb + 4b + 4 + bb
\n" ); document.write( "2b^2 + 4b - 77 = 0
\n" ); document.write( "---
\n" ); document.write( "the above quadratic equation is in standard form, with a=2, b=4, and c=-77
\n" ); document.write( "---
\n" ); document.write( "to solve the quadratic equation, plug this:
\n" ); document.write( "2 4 -77
\n" ); document.write( "into this: https://sooeet.com/math/quadratic-equation-solver.php
\n" ); document.write( "---
\n" ); document.write( "the roots of the quadratic are:
\n" ); document.write( "b = 5.28490254
\n" ); document.write( "b = -7.28490254
\n" ); document.write( "---
\n" ); document.write( "the negative root doesn't make sense for a length, so use the positive root:
\n" ); document.write( "b = 5.28490254
\n" ); document.write( "a = 7.28490254
\n" ); document.write( "---
\n" ); document.write( "Answer:
\n" ); document.write( "the length of the legs is:
\n" ); document.write( "a = 7.28490254 ft
\n" ); document.write( "b = 5.28490254 ft
\n" ); document.write( "---
\n" ); document.write( "Solve and graph linear equations:
\n" ); document.write( "https://sooeet.com/math/linear-equation-solver.php
\n" ); document.write( "---
\n" ); document.write( "Solve quadratic equations, quadratic formula:
\n" ); document.write( "https://sooeet.com/math/quadratic-formula-solver.php
\n" ); document.write( "---
\n" ); document.write( "Convert fractions, decimals, and percents:
\n" ); document.write( "https://sooeet.com/math/fraction-decimal-percent.php
\n" ); document.write( "---
\n" ); document.write( "Calculate and graph the linear regression of any data set:
\n" ); document.write( "https://sooeet.com/math/linear-regression.php
\n" ); document.write( "
\n" );