\n" );
document.write( "The length will need to be spanned twice (say for the north side and south side).\r
\n" );
document.write( "\n" );
document.write( "The width will need to be spanned four times (for the west side, the east side, and the two dividing walls needed to make 3 enclosures). \r
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( "4W + 2L = 1000 --> L = 500 - 2W\r
\n" );
document.write( "\n" );
document.write( "Now express the area in terms of L and W then substitute for L from the above equation:\r
\n" );
document.write( "\n" );
document.write( "Area = A = LW = (500-2W)*W =
(1)\r
\n" );
document.write( "\n" );
document.write( "Differentiate A with respect to W:
\n" );
document.write( "dA/dW = 500-4W <<< notice 2nd derivative is -4, so (1) is concave down \r
\n" );
document.write( "\n" );
document.write( "
\n" );
document.write( "Set to zero to find min/max (in this case max, due to concave down shape, as noted above):\r
\n" );
document.write( "\n" );
document.write( " 0 = 500-4W
\n" );
document.write( " W = 125ft --> L = 250ft\r
\n" );
document.write( "\n" );
document.write( "Max Area = (125ft)*(250ft) =
sqft.\r
\n" );
document.write( "
\n" );
document.write( "
\n" );
document.write( "
\n" );
document.write( "\n" );
document.write( "
\n" );
document.write( "