I am an undergraduate Mathematics and Computer Science student at UMD.
Finding the second moment and taking the square root is not the same as finding the first moment! I'm looking at you physicists...😠
In general, it is NOT true that \(\sqrt{\mathbb{E}(X^2)} = \mathbb{E}(X)\).