Discuss the below in detail:
Q: Air is compressed by a 12-kW compressor from P1 to P2. The air temperature is maintained constant at 25°C during this process as a result of heat transfer to the surrounding medium at 10°C. Determine the rate of entropy change of the air. State the assumptions made in solving problem.