Check the correction of the equation p=phg,where p=pressure at a point h below the free surface of the liquid of density p and g as the acceleration due to gravity.with method

The equation mentioned is not correct. The correct equation for pressure at a point h below the free surface of the liquid of density p and g as the acceleration due to gravity is:

p = p0 + pgh

where:
p = pressure at a point h below the free surface
p0 = atmospheric pressure at the free surface
p = density of the liquid
g = acceleration due to gravity
h = depth below the free surface

This equation takes into account the atmospheric pressure at the free surface and the pressure due to the depth of the liquid below the surface.