Find the following limit problem I'm trying to find the following limit 
$$ \lim_{x\to 0} \left({1-\sin x } {\cos x}\right)^{{ \csc 2x} }$$
How to prove the above limit equals $e^{-{1\over2}}$?

The way the formula appears,
$$
\begin{align}
\lim_{x\to 0}\left(1-\sin(x)\cos(x)\right)^{\csc(2x)}
&=\lim_{x\to 0}\left(1-\frac12\sin(2x)\right)^{\csc(2x)}\\
&=\lim_{x\to 0}\left(1-\frac1{2\csc(2x)}\right)^{\csc(2x)}\\[4pt]
&=e^{-1/2}
\end{align}
$$
However, the LaTeX seems to indicate that the problem may have meant to ask
$$
\begin{align}
&\lim_{x\to 0}\left((1-\sin(x))\cos(x)\right)^{\csc(2x)}\\
&=\lim_{x\to 0}\left(1-\sin(x)\right)^{\csc(2x)}\cos(x)^{\csc(2x)}\\
&=\lim_{x\to 0}\left(1-\sin(x)\right)^{\csc(2x)}\left(1-\sin^2(x)\right)^{\csc(2x)/2}\\
&=\lim_{x\to 0}\left(1-\sin(x)\right)^{3\csc(2x)/2}\left(1+\sin(x)\right)^{\csc(2x)/2}\\
&=\lim_{x\to 0}\left(1-\frac1{\csc(x)}\right)^{3\csc(x)\sec(x)/4}\lim_{x\to 0}\left(1+\frac1{\csc(x)}\right)^{\csc(x)\sec(x)/4}\\[4pt]
&=e^{-3/4}e^{1/4}\\[9pt]
&=e^{-1/2}
\end{align}
$$
Both interpretations give the desired answer since as $x\to0$, $\csc(x)\to\infty$.
