What is the speed of a wave with wavelength=150 m and T=9.8 s, when it is moving through water 40 m deep? What is its speed when the wave reaches water of 5 m depth?

http://hyperphysics.phy-astr.gsu.edu/hbase/watwav.html#c3