How do you determine the mass and volume of a gas?