document.write( "Question 416598: how do you solve this problem????\r
\n" ); document.write( "\n" ); document.write( "A square vegetable garden is to be tilled and then enclosed with a fence. If the fence costs $1 per foot and the cost of preparing the soil is $0.50 per ft2 , determine the size of the garden that can be enclosed for $120.\r
\n" ); document.write( "\n" ); document.write( "i have a answer but i can't really follow this question...:((
\n" ); document.write( "could you explain it in details? :))
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #291862 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
length of side of garden x ft.\r
\n" ); document.write( "\n" ); document.write( "perimeter = 4x
\n" ); document.write( "cost of fencing = 1*4x= 4x
\n" ); document.write( "..
\n" ); document.write( "Area = x*x = x^2
\n" ); document.write( "preparing ground = 0.5* x*x= 0.5x^2
\n" ); document.write( "...
\n" ); document.write( "0.5x^2+4x=120
\n" ); document.write( "multiply by 10
\n" ); document.write( "5x^2+40x-1200=0
\n" ); document.write( "/5
\n" ); document.write( "x^2+8x-240=0
\n" ); document.write( "x^2+20x-12x-240=0
\n" ); document.write( "x(x+20)-12(x+20)=0
\n" ); document.write( "(x+20)(x-12)=0
\n" ); document.write( "x= 12 which is positive.\r
\n" ); document.write( "\n" ); document.write( "The garden is 12 by 12 ft.
\n" ); document.write( "
\n" );