
William W. answered 05/06/20
Experienced Tutor and Retired Engineer
To minimize cost, you must have a cost function. Here cost (C) is a function of the surface area.
The area of the base is W•L (costs $2/m2)
The area of the two "end" sides is W•H (costs $6/m2)
The area of the two other sides is L•H (costs $6/m2)
So the cost is 2(W•L) + 6(2)(W•H + L•H)
Since "the length of its base is twice the width", we can say 2W = L so the cost equation becomes:
C = 2(W•(2W)) + 6(2)(W•H + (2W)•H)
The Volume is 12m3 and volume = L•W•H so, substituting 2W for L, we get 2W2H = 12 or H = 6/W2
So substituting "6/W2" for H in the cost equation we get cost as a function of width"
C(W) = 2(W•(2W)) + 6(2)(W•(6/W2)) + (2W)•(6/W2))
C(W) = 4W2 + 12(6/W + 12/W)
C(W) = 4W2 + 12(18/W)
C(W) = 4W2 + 216/W
To minimize, take the derivative and set it equal to zero"
C'(W) = 8W - 216/W2
8W - 216/W2 = 0
8W = 216/W2
W3 = 216/8
W3 = 27
W = 3
We are looking for the cost when W = 3 so, using our cost function:
C(W) = 4W2 + 216/W
C(3) = 4(3)2 + 216/(3) = 108
So the minimum cost of the material is $108