This is LaTeX code:

[latex]
I(u)=\displaystyle\int_0^1(a(x)(u'(x))^2+b(x)(u(x))^2-2g(x)u(x))dx
[/latex]