document.write( "Question 23299: John has 300 feet of lumber to frame a rectangular patio. (the perimeter of a rectangle is 2 times length plus two times width). He wants to maximize the area of his patio ( area of a rectangle is length times width). What should the dimensions of the patio be? \n" ); document.write( "
Algebra.Com's Answer #12090 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Perimeter = 2l+2w = 300
\n" ); document.write( " l+w =150
\n" ); document.write( " w = 150-l
\n" ); document.write( "Area =lw
\n" ); document.write( " =l(150-l)
\n" ); document.write( " =150l-l^2
\n" ); document.write( "This is a quadratic in \"l\" where
\n" ); document.write( "a=-1, b=150, c=0
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation with variable
Quadratic equation \"ax%5E2%2Bbx%2Bc=0\" (in our case \"-1x%5E2%2B150x%2B0+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"x%5B12%5D+=+%28b%2B-sqrt%28+b%5E2-4ac+%29%29%2F2%5Ca\"
\n" ); document.write( "
\n" ); document.write( " For these solutions to exist, the discriminant \"b%5E2-4ac\" should not be a negative number.
\n" ); document.write( "
\n" ); document.write( " First, we need to compute the discriminant \"b%5E2-4ac\": \"b%5E2-4ac=%28150%29%5E2-4%2A-1%2A0=22500\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=22500 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-150%2B-sqrt%28+22500+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%28150%29%2Bsqrt%28+22500+%29%29%2F2%5C-1+=+0\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%28150%29-sqrt%28+22500+%29%29%2F2%5C-1+=+150\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"-1x%5E2%2B150x%2B0\" can be factored:
\n" ); document.write( " \"-1x%5E2%2B150x%2B0+=+-1%28x-0%29%2A%28x-150%29\"
\n" ); document.write( " Again, the answer is: 0, 150.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+-1%2Ax%5E2%2B150%2Ax%2B0+%29\"

\n" ); document.write( "\n" ); document.write( "The maximum is at l=-b/2a = 150/2=75
\n" ); document.write( "Maximum area occurs when l=75 and w=75\r
\n" ); document.write( "\n" ); document.write( "Cheers,
\n" ); document.write( "stan H.
\n" ); document.write( "
\n" ); document.write( "
\n" );