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