The average speed, $\bar{v},$ of the molecules of an ideal gas is given by
$$\bar{v}=\frac{4}{\sqrt{\pi}}\left(\frac{M}{2 R T}\right)^{3 / 2} \int_{0}^{+\infty} v^{3} e^{-M v^{2} /(2 R T)} d v$$
and the root-mean-square speed, $v_{\mathrm{rms}},$ by
$$v_{\mathrm{rms}}^{2}=\frac{4}{\sqrt{\pi}}\left(\frac{M}{2 R T}\right)^{3 / 2} \int_{0}^{+\infty} v^{4} e^{-M \tau^{2} /(2 R T)} d v$$
where $v$ is the molecular speed, $T$ is the gas temperature, $M$ is the molecular weight of the gas, and $R$ is the gas constant.
(a) Use a CAS to show that
$$\int_{0}^{+\infty} x^{3} e^{-a^{2} x^{2}} d x=\frac{1}{2 a^{4}}, \quad a>0$$
and use this result to show that $\bar{v}=\sqrt{8 R T / \pi M}$.
(b) Use a CAS to show that
$$\int_{0}^{+\infty} x^{4} e^{-a^{2} x^{2}} d x=\frac{3 \sqrt{\pi}}{8 a^{5}}, \quad a>0$$
and use this result to show that $v_{\mathrm{mas}}=\sqrt{3 R T / M}$.