Five kg of carbon dioxide gas undergoes a process in a well insulated piston-cylinder assembly from 2 bar, 280K to 20 bar, 520K. If the carbon dioxide behaves as an ideal gas, determine the amount of entropy produced in kJ/K assuming:
a) constant specific heats with Cp=0.939 kJ/Kg K.
b) variable specific heats.