Answer:
10 ft x 10 ft
Area = 100 ft^2
Step-by-step explanation:
Let 'S' be the length of the southern boundary fence and 'W' the length of the eastern and western sides of the fence.
The total area is given by:
[tex]A=S*W[/tex]
The cost function is given by:
[tex]\$ 120 = \$3*2W+\$6*S\\20 = W+S\\W = 20-S[/tex]
Replacing that relationship into the Area function and finding its derivate, we can find the value of 'S' for which the area is maximized when the derivate equals zero:
[tex]A=S*(20-S)\\A=20S-S^2\\\frac{dA}{dS} = \frac{d(20S-S^2)}{dS}\\0= 20-2S\\S=10[/tex]
If S=10 then W =20 -10 = 10
Therefore, the largest area enclosed by the fence is:
[tex]A=S*W\\A=10*10 = 100\ ft^2[/tex]