I am given the following limit
$$\underset{x\to 0}{\mathop{\lim }}\,{{\left( {{cosx}} \right)}^{{-x}^{-2}}}$$
I tried using the fact that $cosx=1-2sin^2(\frac{x}{2})$, but it didn't give me anything. Moreover now I'm more confused because the answer is $\sqrt e$. Is this a typo or something? because I don't see how this limit can be equal to $\sqrt e$. Could you please help me evaluate this limit? Thank you for your help.
P.S. We didn't learn L'Hopital's rule, so I can't use it.
The only limit that I know that evaluates $e$ is $e=\underset{x\to 0}{\mathop{\lim }}\,{{\left( {{1+x}} \right)}^{{1/x}}}$