This is LaTeX code:
[latex]
f(x)=\frac{x^2}{2}+\ln x
[/latex]