This is LaTeX code:
[latex]
e^{\lim_{x\to 0} (cosx-1)\times(1+ctg^2x)}= e^{\lim_{x\to 0} (cosx-1)+\frac{cos^2x}{sin^2x}}=e^{\lim_{x\to 0} 0 +\frac{\frac{cosx}{x^2}}{\frac{sin^2x}{x^2}}}
[/latex]