document.write( "Question 811291: Hi,
\n" ); document.write( "\"A gardener has 100m of fencing. He must use this to build the biggest fence possible (in square meters).There are 3 sides to the garden bed, attached to the wall which does not require fencing. What are the three side lengths you would use to get the biggest area of fencing?\"\r
\n" ); document.write( "\n" ); document.write( "I know the answer is 50, 25, 25. But how do you develop an equation to solve this for full marks?\r
\n" ); document.write( "\n" ); document.write( "Thanks
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #488676 by josgarithmetic(39617)\"\" \"About 
You can put this solution on YOUR website!
Three sides are in lengths x, y, and y.
\n" ); document.write( "Two equations are possible.
\n" ); document.write( "Area, \"A=xy\", and fence length, \"x%2By%2By=100\". The biggest area A is wanted.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The fence length equation is also \"x%2B2y=100\", and we can solve for either variable and substitute into the A equation. Try \"x=100-2y\";
\n" ); document.write( "Then \"A=xy=%28100-2y%29y\"
\n" ); document.write( "\"highlight%28A=100y-2y%5E2%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "That is a parabola with a maximum value.
\n" ); document.write( "Easiest to find the roots of the equation.
\n" ); document.write( "\"100y-2y%5E2=0\"
\n" ); document.write( "\"2y%2850-y%29=0\"
\n" ); document.write( "\"y=0\" or \"y=50\", so right in between is \"y=25\". That is where A is maximum.
\n" ); document.write( "
\n" );