document.write( "Question 522256: To save materials; Choma decides to build a horse corral using the barn for one side. He has 30m of fencing materials and wants the corral to have an area of 100m^2. What are the dimensions of the corral?
\n" ); document.write( "Let w =width and y = length
\n" ); document.write( "2x+y=30
\n" ); document.write( "but that's as far as I know how to solve this equation
\n" ); document.write( "

Algebra.Com's Answer #346757 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
He has 30m of fencing materials and wants the corral to have an area of 100m^2. What are the dimensions of the corral?
\n" ); document.write( "Let x =width and y = length
\n" ); document.write( "2x+y=30
\n" ); document.write( "Change to a form we can use for substitution
\n" ); document.write( "y = (30-2x)
\n" ); document.write( ":
\n" ); document.write( "The area
\n" ); document.write( " x * y = 100
\n" ); document.write( "replace y with (30-2x)
\n" ); document.write( "x(30-2x) = 100
\n" ); document.write( "-2x^2 + 30x - 100 = 0; a quadratic equation
\n" ); document.write( "simplify and change the sign to make it easier to factor, divide by -2
\n" ); document.write( "x^2 - 15x + 50 = 0
\n" ); document.write( "Factors to
\n" ); document.write( "(x-10)(x-5) = 0
\n" ); document.write( "two solutions
\n" ); document.write( "x = 5 meters, then y = 20 meters is the length (5*20=100)
\n" ); document.write( "x = 10 meters, then y = 10 meters is the length (10*10=100)
\n" ); document.write( ":
\n" ); document.write( "Check both these solutions to ensure 30 m of fencing is used
\n" ); document.write( "
\n" );