document.write( "Question 189349: A farmer has 500 feet of fencing to use to make a rectangular garden. One side of the garden will be a barn, which requires no fencing. How should the pen be built in order to enclose the largest amount of area possible?\r
\n" ); document.write( "\n" ); document.write( "Give your answer by filling in the blanks in the following sentence: The farmer should build the pen ______ feet away from the barn, and ________ feet wide, for an area of _______ square feet
\n" ); document.write( "
\n" ); document.write( "How do I solve this?
\n" ); document.write( "

Algebra.Com's Answer #142123 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
A farmer has 500 feet of fencing to use to make a rectangular garden.
\n" ); document.write( " One side of the garden will be a barn, which requires no fencing.
\n" ); document.write( " How should the pen be built in order to enclose the largest amount of area possible?
\n" ); document.write( ":
\n" ); document.write( "Let L = the length
\n" ); document.write( "Let x = the width
\n" ); document.write( ":
\n" ); document.write( "We only need 3 sides so the perimeter equation would be:
\n" ); document.write( "L + 2x = 500
\n" ); document.write( "L = (500-2x)
\n" ); document.write( ":
\n" ); document.write( "Area = x * L
\n" ); document.write( "Substitute (500-2x) for L
\n" ); document.write( "A = x(500-2x)
\n" ); document.write( "A = -2x^2 + 500x
\n" ); document.write( ":
\n" ); document.write( "A quadratic equation, we can use the axis of symmetry and vertex to find the maximum area;
\n" ); document.write( "x = -500/(2*-2)
\n" ); document.write( "x = -500/-4
\n" ); document.write( "x = 125 ft is the width which will give max area
\n" ); document.write( ":
\n" ); document.write( "The length:
\n" ); document.write( "L = 500 - 2(125)
\n" ); document.write( "L = 250 ft is the length for max area
\n" ); document.write( ":
\n" ); document.write( "Find the max area
\n" ); document.write( ":
\n" ); document.write( "A = 250 * 125
\n" ); document.write( "A = 31,250 sq/ft
\n" ); document.write( ":
\n" ); document.write( "I'll let you fill in the blanks
\n" ); document.write( "\"The farmer should build the pen ______ feet away from the barn, and ________
\n" ); document.write( "feet wide, for an area of _______ square feet
\n" ); document.write( "
\n" );