Step 1: Apply Torricelli’s theorem for efflux velocity.
The velocity of efflux for a hole at depth \( h \) is given by:
\[
v = \sqrt{2gh},
\]
where \( g \) is the acceleration due to gravity.
For hole A at depth \( h \):
\[
v_A = \sqrt{2gh}.
\]
For hole B at depth \( 3h \):
\[
v_B = \sqrt{2g(3h)} = \sqrt{6gh}.
\]
Step 2: Relating the flow rates.
The rate of flow (\( Q \)) is given by:
\[
Q = \text{Area} \times \text{Velocity}.
\]
For hole A (square of side \( L \)):
\[
Q_A = L^2 \cdot v_A = L^2 \cdot \sqrt{2gh}.
\]
For hole B (circle of radius \( r \)):
\[
Q_B = \pi r^2 \cdot v_B = \pi r^2 \cdot \sqrt{6gh}.
\]
Given that the flow rates are equal (\( Q_A = Q_B \)):
\[
L^2 \cdot \sqrt{2gh} = \pi r^2 \cdot \sqrt{6gh}.
\]
Step 3: Simplify the equation.
Cancel \( \sqrt{gh} \) from both sides:
\[
L^2 \cdot \sqrt{2} = \pi r^2 \cdot \sqrt{6}.
\]
Divide both sides by \( \sqrt{2} \):
\[
L^2 = \pi r^2 \cdot \sqrt{\frac{6}{2}} = \pi r^2 \cdot \sqrt{3}.
\]
Take the square root of both sides:
\[
L = \sqrt{\pi r^2 \cdot \sqrt{3}} = r \cdot \pi^{1/2} \cdot (3^{1/4}).
\]
Thus, \( L = 3^{1/4} \pi^{1/2} r \).