The document describes a calculation to determine the height (H) of oil in a rectangular tank at which a hinged gate will just begin to rotate counterclockwise. The gate is subjected to an upward force from the oil (F1) and a leftward force from the air pressure (F2). F1 is calculated based on the oil density, area of the gate, and height of the oil column. F2 is given as the air pressure times the gate area. Setting F1 equal to F2 and solving for H gives the critical height at which rotation will occur.