Initial pressure of the gas is,
Work done by an ideal gas during isothermal process is,
But,
Thefinal pressure and volume attained in the isothermal process is the initial pressure and volume for the isobaric process.
Work done by an ideal gas during isobaric process is,
Substitute the values and solve as:
Total work done by the air is,
Hence, the work done by the air is
Therefore,total work done by the air during isothermal and isobaric process can be calculated from its initial and final pressures and volumes.