c - speed of sound
K - bulk modulus of the fluid
r - diameter / pipe wall thickness
E - Young's modulus of the pipe material
f - a coefficient determined by the support method and Poisson's ratio of the pipe material. For metal pipe, f is almost equal to 1.