Originally Posted by

**balloo** Hi, i have a differential equation I am trying to integrate, but I do not know how to do it. The equation is:

dp = rho*g*dx

rho = rho_0 + (p(h)-p_0)/c^2

dp = (rho_0 + (p(h)-p_0)/c^2)*g*dh

This is a linear equation for the compressibility in a fluid. p(h) is the pressure at a given height below the surface of the fluid, p_0 is a reference pressure (above the fluid, atmospheric), rho_0 is the density of this fluid at that pressure, c is a constant and g is the gravity constant.

Anyone knows what the expression for p(h) will be?