document.write( "Question 901507: A square vegetable garden is to be tilled and then enclosed with a fence. If the fence costs $4.00 per foot and the cost of preparing the soil is $0.80 per ft^2, determine the size of the garden that can be enclosed for $640.00.\r
\n" ); document.write( "\n" ); document.write( "________ ft^2
\n" ); document.write( "

Algebra.Com's Answer #546761 by josgarithmetic(39630)\"\" \"About 
You can put this solution on YOUR website!
Let x be the side length of the square garden.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Perimeter is \"4x\".
\n" ); document.write( "Area is \"x%5E2\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Fence cost, \"4x%2A4=16x\" dollars
\n" ); document.write( "Soil preparation cost, \"%28x%5E2%29%280.80%29\" dollars\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Total cost wanted is $640;
\n" ); document.write( "\"0.8x%5E2%2B16x=640\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Possible simplification:
\n" ); document.write( "\"highlight%28x%5E2%2B20x-800=0%29\"
\n" ); document.write( "Using this equation, first find discriminant:
\n" ); document.write( "\"20%5E2%2B4%2A800=400%2B3200=3600=%286%2A10%29%5E2=60%5E2\".
\n" ); document.write( "Discriminant is \"60%5E2\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x=%28-20%2Bsqrt%2860%5E2%29%29%2F2\"
\n" ); document.write( "\"x=%28-20%2B60%29%2F2\"
\n" ); document.write( "\"highlight%28x=20%29\"
\n" ); document.write( "(The quadratic equation is factorable, and that could be done if desired).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "ANSWER CONCLUSION: Garden side length, 20 feet, and area 400 square feet.
\n" ); document.write( "
\n" );