A thermally insulated piston cylinder device initially contains 0.2m^3, 0.8kg of air at 20 degrees Celcius, and the piston is free to move. Now air at 600kPa and 80 degrees Celcius is slowly applied to the device through a supply line until the volume increases by 50 percent. Using constant specific heats and assume air as ideal gas, determine the entropy generation.
I've been thinking about this for a long time but could not figure it out. I would appreciate any help.
Thank you