1-kg of carbon dioxide is compressed from 1 MPa and 200C to 3 MPa in a piston-cylinder
device arranged to execute a polytropic process for which PV1.2 = constant. Determine the final
temperature treating the carbon dioxide as (a) an ideal gas and (b) a van der Waals gas