assuming adiabatic change of state of the gas.