\( \mathrm{PV}=\frac{\mathrm{N}}{\mathrm{N}_{\mathrm{A}}} \mathrm{RT}\)
\(\mathrm{N}=\) Total no. of molecules
\(\mathrm{P}=\frac{\mathrm{N}}{\mathrm{V}} \mathrm{kT}\)
\(1.38 \times 1.01 \times 10^5=2 \times 10^{25} \times 1.38 \times 10^{-23} \times \mathrm{T}\)
\(1.01 \times 10^5=2 \times 10^2 \times \mathrm{T}\)
\(\mathrm{T}=\frac{1.01 \times 10^3}{2} \approx 500 \mathrm{~K}\)