A frictionless piston–cylinder device contains 2.5 kg of nitrogen at 100 kPa and 250 K. Nitrogen is now compressed slowly according to the relation PV1.4 = constant until it reaches a final temperature of 450 K. Calculate the work input during this process. The gas constant for nitrogen is R = 0.2968 kJ/kg·K.