Air undergoes a polytropic process in a piston–cylinder assemblyfrom p1 = 1 bar, T1 = 295 K to p2 = 7 bar. The air is modeled as anideal gas and kinetic and potential energy effects are negligible.For a polytropic exponent of 1.4, determine the work and heattransfer, each in kJ per kg of air, (1) assuming constant cvevaluated at 300 K. (2) assuming variable specific heats.