100 cubic meters of carbon dioxide initially at 150 C and 50bar is to be isothermally compressed in a frictionless piston and cylinder device to a final pressure of 300 bar. Calculate:

i. The volume of the compressed gas
ii. The work done to compress the gas
iii. The heat flow on compression assuming carbon dioxide:

a/ Is an ideal gas
b/ Obeys the principle of corresponding states
c/ Obeys the Peng-RObinson equation of state