Longitudinal or compressive wave or primary (p) wave,
Transverse or shear waves or secondary (s) wave,
Surface waves.
It is primarily the velocity of longitudinal or the compression waves which is utilized in this method. The equation for the velocity of the p-waves and s-waves is given as,