The hinged gate ABC closes an opening of width b (perpendicular to the paper) in a water
channel. The water has free access to the underside as well as the right side of the gate.
When the water level rises above a certain value of h, the gate will open. Determine the
critical value of h. Neglect the mass of the gate.