Calculate the work input to the process.
A piston-cylinder device contains air (2kg) at 100kPa and 300K. The air is compressed slowly and frictionless by following a polytropic process with a polytropic exponent of 1.4. The temperature reaches at 360K at the final state.