Total hydrostatic force acting on the surface is
L-9.3
The integral is the first moment of the surface area about the x-axis.
If yc is the y coordinate of the centroid of the area, we can express
L-9.4