This is LaTeX code:
[latex]
EX = \int_{-\infty}^{+\infty}{xf_X\left( x \right)}\mathbf{d}x
[/latex]