document.write( "Question 159212: A rectangular patio is surrounded on three sides by a fence (the remaning side is up against the house). If the area of the patio is 38 meter square, and the total length of fence is 18 meters, what is the length and width of the patio. \n" ); document.write( "
Algebra.Com's Answer #117354 by KnightOwlTutor(293)\"\" \"About 
You can put this solution on YOUR website!
The area of a rectangle is Length*Width
\n" ); document.write( "In this example X=width Y=Length\r
\n" ); document.write( "\n" ); document.write( "We know that the area of the rectangle is- XY=38
\n" ); document.write( "We know that the length of the fence that surrounds 3 sides =18
\n" ); document.write( "The algebraic equation for this is X+Y+X=18=2X+Y=18\r
\n" ); document.write( "\n" ); document.write( "We alter the perimeter equation to isolate the Y variable
\n" ); document.write( "2X+Y=18
\n" ); document.write( "Subtract 2X from both sides
\n" ); document.write( "Y=18-2X\r
\n" ); document.write( "\n" ); document.write( "Substitute 18-2X for Y in the area equation.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "X(18-2X)=38\r
\n" ); document.write( "\n" ); document.write( "18X-2x^2=38\r
\n" ); document.write( "\n" ); document.write( "Rearrange terms to reflect a quadratic equation\r
\n" ); document.write( "\n" ); document.write( "-2x^2+18x-38=0\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\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 \"-2x%5E2%2B18x%2B-38+=+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=%2818%29%5E2-4%2A-2%2A-38=20\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=20 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-18%2B-sqrt%28+20+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%2818%29%2Bsqrt%28+20+%29%29%2F2%5C-2+=+3.38196601125011\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%2818%29-sqrt%28+20+%29%29%2F2%5C-2+=+5.61803398874989\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"-2x%5E2%2B18x%2B-38\" can be factored:
\n" ); document.write( " \"-2x%5E2%2B18x%2B-38+=+%28x-3.38196601125011%29%2A%28x-5.61803398874989%29\"
\n" ); document.write( " Again, the answer is: 3.38196601125011, 5.61803398874989.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+-2%2Ax%5E2%2B18%2Ax%2B-38+%29\"

\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are two solutions to this problems X=5.6180 and X=3.381\r
\n" ); document.write( "\n" ); document.write( "If we use X value of 5.6180 we can plug to find out Y value Y=18-2X \r
\n" ); document.write( "\n" ); document.write( "Y is 6.764 (5.6180)(6.764)=38.000152\r
\n" ); document.write( "\n" ); document.write( "Length of the patio is 6.764 meters and the width of the patio is 5.6180 meters
\n" ); document.write( "
\n" );