document.write( "Question 761966: Suppose you had a long stretch of fencing with which to make a nice big playpen for your new puppy. If you wanted to give your puppy the biggest possible area to roam around in, what shape should the fence be? Support your answer with sufficient data \n" ); document.write( "
Algebra.Com's Answer #463611 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
It must be a square shape
\n" ); document.write( "Let the sides = \"+W+\" and \"+L+\"
\n" ); document.write( "Let \"+A+\" = area
\n" ); document.write( "Let \"+P+\" = perimeter
\n" ); document.write( "\"+A+=+W%2AL+\"
\n" ); document.write( "Suppose you have \"+100+\" units of fencing.
\n" ); document.write( "The units can be anything.
\n" ); document.write( "Now I can say
\n" ); document.write( "\"+P+=+2L+%2B+2W+\"
\n" ); document.write( "\"+100+=+2L+%2B+2W+\"
\n" ); document.write( "\"+L+%2B+W+=+50+\"
\n" ); document.write( "\"+L+=+50+-+W+\"
\n" ); document.write( "By substitution:
\n" ); document.write( "\"+A+=+W%2A%28+50+-+W+%29+\"
\n" ); document.write( "\"+A+=+-W%5E2+%2B+50W+\"
\n" ); document.write( "If you plot \"+A+\" on the vertical axis and
\n" ); document.write( "\"+W+\" on the horizontal, this is a parabola
\n" ); document.write( "The maximum is at \"+W%28max%29+=+-b%2F2a+\"
\n" ); document.write( "where the equation has the form \"+A+=+a%2AW%5E2+%2B+b%2AW+\"
\n" ); document.write( "\"+W%28max%29+=+-50%2F2%2A%28-1%29+\"
\n" ); document.write( "\"+W%28max%29+=+25+\"
\n" ); document.write( "and, since
\n" ); document.write( "\"+L+=+50+-+W+\"
\n" ); document.write( "\"+L+=+50+-+25+\"
\n" ); document.write( "\"+L+=+25+\"
\n" ); document.write( "Both length and width are 25, so \"+A%28max%29+\" is a square\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );