We are dealing with an ideal gas that is heated at constant volume, so we recall the basic thermodynamic relation for an ideal gas kept at constant volume:
ΔU=nCv,mΔT
where
ΔU=change in internal energy,
n=number of moles,
Cv,m=molar heat capacity at constant volume,
ΔT=change in temperature (Tfinal−Tinitial).
From the data given in the question we have
n=4 mol,
Tinitial=300 K,
Tfinal=500 K,
ΔU=5000 J.
First we find the temperature change:
ΔT=Tfinal−Tinitial=500 K−300 K=200 K.
Now we substitute every known value into the formula ΔU=nCv,mΔT:
5000 J=(4 mol)Cv,m(200 K).
We isolate Cv,m by dividing both sides by the product nΔT:
Cv,m=nΔTΔU=4 mol×200 K5000 J.
Cv,m=6.25 J mol−1K−1.
So, the answer is 6.25 J mol−1K−1.