A piston-cylinder device contains 2.2kg of nitrogen initially at 100kPa and 25C. The nitrogen is now compressed slowly in a polytropic process during which PV^1.3 = constant until the volume is reduced by one-half. Determine the work done and the heat transfer for this process.