Calculating the mass of air