the work done by the gas is W1 if the process is purely isothermal