This is LaTeX code:

[latex]
f(x)=\sqrt{x+1}-1-\frac{1}{2}x
[/latex]