I'm currently reading about Maxwell's law of distribution of velocities, and the thought occurred to me that I could use this to calculate the maximum temperature that an atom could reach.
My theory is that there is a temperature at which atoms would exhibit movement equal to $c$, and hence could not move any faster.
Using the average velocity formula to calculate $T$ where $\bar{u} = c$ for a hydrogen atom (Wolfram Alpha):
$\bar{u} = \sqrt{8RT\over\pi M} \\\bar{u} = c \\ M = 2 \\ c = \sqrt{8RT\over2\pi} \\ T = 8.494352186809165 \times 10^{12} K$
Given that I haven't found any evidence of this theory online, I assume that I've made a mistake.
Is this correct or not, and why?
An interesting side note to think about is that under this theory, an atom heated to this temperature would have infinite mass.