document.write( "Question 200005: a farmer has 500m of fencing to build a rectangular enclosure along a river.No fencing is needed along the riverbank.what would be the maximum area enclosed by the fence?what would be the equation? \n" ); document.write( "
Algebra.Com's Answer #150409 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
a farmer has 500m of fencing to build a rectangular enclosure along a river.No fencing is needed along the riverbank.what would be the maximum area enclosed by the fence?what would be the equation?
\n" ); document.write( "------------------------
\n" ); document.write( "Area = length*width
\n" ); document.write( "2 sides are the width, one is length
\n" ); document.write( "500 = l + 2w --> l = 500-2w
\n" ); document.write( "Area = l*w
\n" ); document.write( "Sub for w
\n" ); document.write( "A = w*(500-2w)
\n" ); document.write( "A = 500w - 2w^2 ***** That's the equation
\n" ); document.write( "------------------
\n" ); document.write( "Method 1
\n" ); document.write( "Set the 1st derivate to zero
\n" ); document.write( "0 = 500 - 4w
\n" ); document.write( "w = 125
\n" ); document.write( "l = 250
\n" ); document.write( "--------
\n" ); document.write( "Method 2:
\n" ); document.write( "A = 500w - 2w^2
\n" ); document.write( "2w^2 - 500w + A = 0
\n" ); document.write( "This is a parabola. The max is at the vertex.
\n" ); document.write( "The vertex is at w = -b/2a
\n" ); document.write( "w = -b/2a = 500/4
\n" ); document.write( "w = 125
\n" ); document.write( "l = 250
\n" ); document.write( "same as above.
\n" ); document.write( "------------
\n" ); document.write( "Area = 125*250 = 31,250 sq meters.
\n" ); document.write( "
\n" ); document.write( "
\n" );