This is LaTeX code:
[latex]
\cos(\frac{1}{n})=1-\frac{1}{2n^2}+O(n^{-4})
[/latex]