Pressure p acts normal to dA, the elemental surface of AB, at a distance Z from the origin or the depth ‘h’ from the top of the liquid surface.