Solves the linear water wave dispersion relation