KE of the vessel =21mv2
When the vessel is suddenly stopped, the ordered motion of the gas molecules is converted into disordered motion of the molecules increasing thereby the internal energy of the gas. Thus,
ΔU=nCvΔT=21mv2=21(nM)v2
Where n is number of moles of the gas in the vessel and M is molecular weight of the gas.
∴ΔT=2CvMv2
As Cv=γ−1R
∴ΔT=2RMv2(γ−1)=2RMv2(1.4−1)=5RMv2