document.write( "Question 354595: A rancher needs two adjacent corrals, one for cattle and one for sheep. If a river forms one side of the corrals and 240 yd of fencing is available, what is the largest total area that can be enclosed?\r
\n" ); document.write( "\n" ); document.write( "Perimeter = y + 3x
\n" ); document.write( "A = x * y\r
\n" ); document.write( "\n" ); document.write( "A = x(-3x+240)
\n" ); document.write( "A = -3x^2+240x
\n" ); document.write( "=-3(x^2-80x)
\n" ); document.write( "=-3(x^2-80x-40^2)+4800
\n" ); document.write( "=-3(x-40)^2+4800\r
\n" ); document.write( "\n" ); document.write( "Maximum total area is 4800 yards\r
\n" ); document.write( "\n" ); document.write( "Did I solve it correctly?
\n" ); document.write( "

Algebra.Com's Answer #253368 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
A rancher needs two adjacent corrals, one for cattle and one for sheep. If a river forms one side of the corrals and 240 yd of fencing is available, what is the largest total area that can be enclosed?
\n" ); document.write( "Perimeter = y + 3x
\n" ); document.write( "A = x * y
\n" ); document.write( "A = x(-3x+240)
\n" ); document.write( "A = -3x^2+240x
\n" ); document.write( "=-3(x^2-80x)
\n" ); document.write( "=-3(x^2-80x-40^2)+4800
\n" ); document.write( "=-3(x-40)^2+4800
\n" ); document.write( "Maximum total area is 4800 yards
\n" ); document.write( "---------------------
\n" ); document.write( "If both corrals have one side on the river:
\n" ); document.write( "2x + 2y = 240 --> y = 120-x
\n" ); document.write( "Area = x*2y = 240x - 2x^2
\n" ); document.write( "A parabola with the line of symmetry of x = -b/2a
\n" ); document.write( "x = -240/(-4) = 60
\n" ); document.write( "--> y = 60
\n" ); document.write( "Area = 60*120 = 7200 sq yds
\n" ); document.write( "
\n" ); document.write( "
\n" );