If the value of $\lim_{x \to 0}\left(2 - \cos x\sqrt{\cos 2x}\right)^{\left(\frac{x + 2}{x^2}\right)}$ is equal to $e^a$, then $a$ is equal to ______.
Numerical-value question: the answer is a number.
Show answer
The answer is 3.
Key from source paper