Step 1: Set up
Let the square base side be \(a\) and the height \(h\). Volume: \(a^2h=4000\), so \(h=\dfrac{4000}{a^2}\).
Step 2: Surface area
Open tank: \(S=a^2+4ah=a^2+\dfrac{16000}{a}\).
\(\dfrac{dS}{da}=2a-\dfrac{16000}{a^2}=0\Rightarrow a^3=8000\Rightarrow a=20\text{ cm}\).
Step 3: Height and check
\(h=\dfrac{4000}{400}=10\text{ cm}\). \(\dfrac{d^2S}{da^2}=2+\dfrac{32000}{a^3}>0\), so S is minimum.
Final Answer:
The base side is 20 cm and the height is 10 cm.
\[ \boxed{\text{(B) }\text{side of square bottom}=20\text{ cm},\ \text{height}=10\text{ cm}} \]