Calculate ideal work (in J) when a single stream of 1 mole of air is heated and expanded from 25 C and 1 bar to 100 C and 0.5 bar. The temperature of the surrounding is 37 C.
Note: Assume air to behave as an ideal gas under these conditions and ideal gas heat capacity is dependent on temperature]