where V is the volume of the gas. The value of q is (γ = Cp/Cv)