Let the length, width and height of the open tank be
x,
x and
y with respectively. Then its volume is
x2y and total surface area is
x2+4xy.
It is given that the tank can be hold a given quantity of water. This mean that its volume is constant. Let it be V.
V=x2y
The cost of the material will be least if the total surface area is least. Let's denote total surface area
S=x2+4xy
We have to minimize S subjects to the condition that the volume is constant.
S=x2+4xy
S=x2+4Vx
⇒dSdx=2x−4Vx2
⇒d2Sdx2=2+8Vx3
For maximum or minimum value of S
dSdx=0
⇒2x−4Vx2=0
⇒2x3=4V
⇒2x3=4x2y
⇒x=2y
Clearly d2xdx2=2+8Vx3>0 for all x.
Here S is minimum when x=2y depth of tanh is half of width.