An open-tube mercury manometer is used to measure the pressure in a gas tank. When…