Isothermal expansion and adiabatic expansion