Initially in standard conditions the gas pressure is
P=105Pa
Gas temperature is T=273 K
Gas volume is V=5×10−3 m3
If n moles of gas are there, then from gas law, we have
PV=nRT
n=PVRT=105×5×10−38.314×273=0.22 m .
Thus change in internal energy in a process is given as
ΔU=f2nRΔT
=52×0.22×8.314×55=251.5 J.
As gas is enclosed in a container its volume remains constant during the process thus work done in this process is zero and according to first law of thermodynamics, we have Q=ΔU=−251.5 J