This is LaTeX code:
[latex]
f(x)=1-\displaystyle\frac{\sin^2 (2x)}{2}
[/latex]