Janelle S. answered 04/08/20
Penn State Grad for ME, Math & Test Prep Tutoring (10+ yrs experience)
Set up a system of equations:
Let L = length (both sides are $3 per foot)
Let W = width (one side is $3 per foot and the other side is $16 per foot)
A = L * W = 230 → use known area to solve for W in terms of L → W = 230 / L
cost = $3 (2L + W) + $16 (W) = 6L + 3W + 16W = 6L + 19W
substitute W = 230 / L into cost equation so there is only one variable:
cost = f(L) = 6L + 19W = 6L + 19*(230/L) = 6L + (4370 / L)
For optimization problems, find the derivative of the cost equation, set equal to 0, and solve for L:
f'(L) = 6 - (4370 / L2) = 0
6 = 4370 / L2
L2 = 4370 / 6
L = √(4370 / 6) = 26.988 ft
Use L to solve for W:
W = 230 / L = 230 / 26.988 = 8.522 ft
The dimensions of the enclosure are 26.988 ft by 8.522 ft