This is LaTeX code:
[latex]
cos \frac{n\pi}{2}
[/latex]