contestada

Eight kg of nitrogen (N2) undergoes a process from p1 = 5 bar, T1 = 400 K to p2 = 2 bar, T2 = 500 K.
Assuming ideal gas behavior, determine the change in entropy, in kJ/K, with:
(a) constant specific heats evaluated at 450 K.
(b) variable specific heats.
Part a is 4.0497 but im having difficulty with part B please help.