According to the question, the tank must hold a given quantity of water, so the volume of water can be assumed to be fixed. Let its value be denoted as C cubic units, a real constant. The base of the tank is square, so, let the length of its side be a units and the depth of the tank be x units (a variable quantity whose value in terms of a is to be determined). The volume of the tank is clearly area of base times depth = a²x = C (fixed). Since the tank is open at the top, its surface area is: (bottom area + 4 walls) a² + 4ax square units. If the cost of sheet metal material per square meter is p (fixed), then the cost of building the tank is: p(a² + 4ax) So, the problem is to minimize p(a² + 4ax) subject to the constraint a²x = C. ⇒ a = √(C/x) ⇒ p(a² + 4ax) = p(C/x + 4√(C/x)x) Differentiating the above expression with respect to x and equating to zero to find the minimum, we get: p(-C/x² + 2√(C/x)) = 0 ⇒ x = √(C/4) ⇒ a = 2√(C/4) Clearly, we can see from the above that x = a/2 So, the cost of material is minimized when the depth is half of the width.