document.write( "Question 890399: A farmer decides to enclose a rectangular garden, using the side of the barn as one rectangle. What is the maximum area that the farmer can enclose with 80ft. Of fence. What should the dimensions of the garden be to give this area? \n" ); document.write( "
Algebra.Com's Answer #538951 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
A farmer decides to enclose a rectangular garden, using the barn as one side of the rectangle. What is the maximum area that the farmer can enclose with 80ft. Of fence. What should the dimensions of the garden be to give this area?
\n" ); document.write( "let x=length of rectangle (length of barn)
\n" ); document.write( "(80-x)/2=width of rectangle
\n" ); document.write( "Area=length*width=x(80-x)/2=80x-x^2=40x-x^2/2
\n" ); document.write( "A=-x^2/2+40x
\n" ); document.write( "complete the square:
\n" ); document.write( "A=-1/2(x^2-80x+1600)+800
\n" ); document.write( "-1/2(x-40)^2+800
\n" ); document.write( "This is an equation of a parabola that opens down with vertex at (40,800)
\n" ); document.write( "dimensions of the garden: 40 by 20 ft
\n" ); document.write( "
\n" );