Explore a function graphically.
The wave speed c of water surface waves depends on the
length λ of the waves. The following formula relates c to λ:
where g is the acceleration of gravity, s is the air-water
surface tension (7.9·10−4 N/cm) , ρ is the density of
water (can be taken as 1 kg/cm3), and h is the water depth. Let us
fix h at 50 m. First make a plot of c(λ) for small λ (1 mm to 10 cm).
Then make a plot c(λ) for larger λ (1 m to 2 km). Name of program