document.write( "Question 255888: A farmer has 1000 feet of fence. He wants to enclose a pasture bordering on long straight river where no fence is needed. Find the area of the largest such enclosure. \r
\n" ); document.write( "\n" ); document.write( "Thank you for help.
\n" ); document.write( "

Algebra.Com's Answer #188096 by drk(1908)\"\" \"About 
You can put this solution on YOUR website!
We have two formulas:
\n" ); document.write( "(i) \"P+=+2x+%2B+y\", where p =1000. Note we only have 3 sides.
\n" ); document.write( "(ii) \"A+=+xy\"
\n" ); document.write( "From (i) we get
\n" ); document.write( "(iii) \"1000+=+2x+%2B+y\"
\n" ); document.write( "Solve (iii) for y to get
\n" ); document.write( "(iv) \"y+=+1000-2x\"
\n" ); document.write( "substitute (iv) into (ii) to get
\n" ); document.write( "(v) \"A+=+x%281000-2x%29\"
\n" ); document.write( "which is
\n" ); document.write( "(vi) \"A+=+-2x%5E2+%2B+1000x\"
\n" ); document.write( "set -2x^2 + 1000x = 0 and create vertex form as
\n" ); document.write( "\"%28x-250%29%5E2+%2B+125000\"
\n" ); document.write( "so the max area is 125,000 sq. ft.
\n" ); document.write( "
\n" );