Snell's law: , with as shown in the drawing and C being the wave speed.
Refraction coefficient: , where the subscript o corresponds to infinite depth water. Also , where shoaling coefficient.