I'm getting stuck on the following exercise where I have to find the limit as x approaches zero, for this cosine function:
$$\lim_{x \to 0}\cos\left(\frac{\pi\sin^2(x)}{x^2}\right)$$
The graph shows that there should be a limit of $-1$ at $0$, but I can't find a nice trigonometric identity that allows me to rewrite this such that the $x^2$ in the denominator disappears.
Any indication on how to solve this?