An ideal gas, initially at 25°C and 1 bar, undergoes the following cyclic processes in a closed system. In mechanically reversible processes, it is first compressed adiabatically to 5 bar, then cooled at a constant pressure of 5 bar to 25°C, and finally expanded isothermally to its original pressure.