This is LaTeX code:

[latex]
\mathbb{E}[X^2]=2
[/latex]