A vertical gate 4 ft wide and 6 ft tall has its top at the water surface. hc=3 ft and A=24 ft², so F=62.4×3×24=4,490 lb. Ic=4×63/12=72 ft⁴, so ycp=3+72/(3×24)=4 ft below the surface — two thirds of the way down, as for any rectangle reaching the surface.
Check it stuck: a set from Fluid Mechanics, the knowledge area this unit teaches.