Paul B. answered 04/06/20
Experienced College Mathematics and Computer Science Tutor
We have four sides of the box, 2 broad sides with areas height x length, 2 narrow sides with areas height x width, and the top and bottom with areas width x length.
So for the cost of the box f(w,l,h) = 2hl + 2hw + 2(2wl) [the sides are 1 cent/cm2; top and bottom are 2 cent/cm2]
We have the cost f(w,l,h) subject to the contstraint of the Volume V(w,l,h)=wlh=532 cm3
The Lagrange condition is ∇f=λ∇V and V(w,l,h)=532. This gives equations:
fw=λlh, fl=λwh, fh=λwl.