document.write( "Question 174606: Diagonal brace. The width of a rectangular gate is 2 meters (m) larger than its height. The diagonal brace measures squared 6m . Find the width and height.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #129631 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
Let h = height
\n" ); document.write( "then
\n" ); document.write( "h+2 = width
\n" ); document.write( ".
\n" ); document.write( "Applying Pythagorean theorem we have:
\n" ); document.write( "h^2 + (h+2)^2 = 6^2
\n" ); document.write( "h^2 + (h^2+4h+4) = 36
\n" ); document.write( "2h^2 + 4h + 4 = 36
\n" ); document.write( "2h^2 + 4h - 32 = 0
\n" ); document.write( "h^2 + 2h - 16 = 0
\n" ); document.write( ".
\n" ); document.write( "Applying the quadratic formula yields:
\n" ); document.write( "x = {3.123, -5.123}
\n" ); document.write( ".
\n" ); document.write( "Tossing out the negative solution we have:
\n" ); document.write( "height = 3.123 meters
\n" ); document.write( "width = h+2 = 5.123 meters
\n" ); document.write( ".
\n" ); document.write( "Details of quadratic follows:
\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 \"1x%5E2%2B2x%2B-16+=+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=%282%29%5E2-4%2A1%2A-16=68\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=68 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-2%2B-sqrt%28+68+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%282%29%2Bsqrt%28+68+%29%29%2F2%5C1+=+3.12310562561766\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%282%29-sqrt%28+68+%29%29%2F2%5C1+=+-5.12310562561766\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1x%5E2%2B2x%2B-16\" can be factored:
\n" ); document.write( " \"1x%5E2%2B2x%2B-16+=+1%28x-3.12310562561766%29%2A%28x--5.12310562561766%29\"
\n" ); document.write( " Again, the answer is: 3.12310562561766, -5.12310562561766.\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%2B2%2Ax%2B-16+%29\"
\n" ); document.write( "
\n" ); document.write( "
\n" );