Answer:
Length = 19 ft
Width = 12.63 ft
Step-by-step explanation:
Let the length be 'L' and width be 'w'.
Given:
Area of the rectangular fence (A) = 240 ft²
Fencing cost for three sides = $5 per foot
Fencing cost for fourth side = $15 per foot
Area of the fence is given by the formula:
[tex]A=Lw\\\\w=\frac{A}{L}\\\\w=\frac{240}{L}----(1)[/tex]
Now, Perimeter of first three sides = [tex]L + L + w = 2L + w[/tex]
Cost of fencing three sides = Cost per foot × Perimeter of 3 sides
[tex]C_1=5(2L+w)=10L+5w[/tex]
Cost of fencing fourth side = Cost per foot × length of fourth side
[tex]C_2=15w[/tex]
Total cost of fencing, [tex]C=C_1+C_2=10L+5w+15w=10L+20w[/tex]
Now, replace 'w' from equation (1). This gives,
[tex]C=10L+\frac{15\times 240}{L}\\\\C=10L+\frac{3600}{L}[/tex]
Now, to minimize the total cost, the derivative of total cost with any of the dimensions must be 0.
Differentiating both sides with respect to length 'L', we get:
[tex]\frac{dC}{dL}=\frac{d}{dL}(10L+\frac{3600}{L})=0\\\\10-\frac{3600}{L^2}=0\\\\\frac{3600}{L^2}=10\\\\L^2=\frac{3600}{10}\\\\L=\sqrt{360}=18.97\approx 19\ feet[/tex]
Therefore, the length is 19 feet.
Now, the width is determined using equation (1). So,
[tex]w=\frac{240}{19}=12.63\ ft[/tex]
Therefore, the dimensions are length equal to 19 ft and width equal to 12.63 ft.