The liquid barometer is an instrument used in measuring atmospheric pressure. The liquid barometer uses…