A heat exchanger that follows a compressor receives 0.1 kg/* air at 1000 kPa, 500 K and cools it in a constant pressure process to 320 K. The heat is absorbed by ambient ait at 300 K. Find the total rate of entropy generation.
C.V. Heat exchanger to ambient, steady constant pressure so no work.