Effect of temperature on the volume of gas