During an isothermal expansion