Gas Trapped in a Capillary Tube - Example 2

Example 2:

Figure above shows some air trapped in a J-tube. Find the pressure of the trapped air. [Density of water = 1000 kg/m³; Atmospheric pressure = 100,000 Pa]
Answer:
P gas = P atm +hρg P gas =(100,000)+(0.2)(1000)(10) P gas =102,000Pa