document.write( "Question 986771: A farmer wants to fence in a rectangular pen using the wall of a barn for one side of the pen and the 10 metres of fencing for the remaining three sides. What dimension will give him the maximum area for the pen? \n" ); document.write( "
Algebra.Com's Answer #607562 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
wall length =x
\n" ); document.write( "long side length=x
\n" ); document.write( "short side is (10-x)/2 for each. The sum is 2x+5-(x/2)+5-(x/2)=10
\n" ); document.write( "Area is x((1/2)(10-x)=
\n" ); document.write( "(10x-x^2)/2=0
\n" ); document.write( "by calculus the first derivative is 10-2x=0; x=5
\n" ); document.write( "by quadratic,
\n" ); document.write( "(10x-x^2)/2=0
\n" ); document.write( "vertex of this is -b/2a=5/1=5
\n" ); document.write( "The dimensions are 5m X 2.5m=12.5m^2
\n" ); document.write( "\"graph%28300%2C300%2C-10%2C10%2C-10%2C20%2C-0.5x%5E2%2B5x%29\"
\n" ); document.write( "
\n" ); document.write( "
\n" );