Pressure and mass of vapor in a flask