document.write( "Question 616476: a farmer decides to enclose a rectangular garden using the side of a barn as one side of the rectangle. What is the maximum area that the farmer can enclose with 60 foot of fence? What should the dimensions of the garden be to get this area? \n" ); document.write( "
Algebra.Com's Answer #387707 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
a farmer decides to enclose a rectangular garden using the side of a barn as one side of the rectangle. What is the maximum area that the farmer can enclose with 60 foot of fence? What should the dimensions of the garden be to get this area?
\n" ); document.write( "**
\n" ); document.write( "let x=length of each of the two sides perpendicular to the side of the barn
\n" ); document.write( "60-2x=length of third side parallel to side of the barn
\n" ); document.write( "Area=x(60-2x)
\n" ); document.write( "=60x-2x^2
\n" ); document.write( "=-2x^2+60x
\n" ); document.write( "complete the square
\n" ); document.write( "=-2(x^2-30x+225)+450
\n" ); document.write( "=-2(x-15)^2+450
\n" ); document.write( "maximum area=450 sqft
\n" ); document.write( "dimensions of garden: 15 ft by 30 ft
\n" ); document.write( "
\n" );