How can I calculate this limit?
$$
\lim\_{x\to 0}e^{x}(\cos x)^{\sin^{-2}(x)}
$$

I have come across these types of problems in my exam...
please write any method to be followed to solve these type of questions.