For an isothermal expansion of a perfect gas