Is it true for shallow waves that the speed is related to gravity and depth by $c^2 = gh$? This cannot be true for all $h$ can it? What are the constraints and assumptions of this equation, apart from the obvious conservation of mass and incompressibility of fluids. Does the size of the container of the fluid make a difference. How can we assign a reasonable range for $h$ given other variables?
Is there some other equation to use for great depths?