The internal energy of a gas is given by:
\[
U = \frac{f}{2} nRT
\]
For one mole (\( n = 1 \)) of a rigid diatomic gas, only translational and rotational degrees of freedom contribute. The degree of freedom for such a gas is:
\[
f = 5
\]
Thus, the internal energy is:
\[
U = \frac{5}{2} RT
\]
Conclusion
Thus, the correct answer is:
\[
\frac{5}{2} RT
\]