I've been trying to solve this limit: $$\lim_{n\to \infty} \left(\cos\left(\frac{1}{n}\right)\right)^{n^2}$$ I solved it using l'hopital but I have to try in another way. I tried to make the expression: $$ \lim_{n \to \infty}\exp\left(n^2\ln\left(\cos\left(\frac{1}{n}\right)\right)\right)$$
but it didn't work out for me...
$$ \lim_{n\to\infty}n^2\ln\left(\cos{1\over n}\right)= \lim_{n\to\infty}{\ln\left(1-\left(1-\cos{1\over n}\right)\right) \over1-\cos{1\over n}}\cdot{1-\cos{1\over n}\over(1/n)^2}= -1\cdot{1\over2}=-{1\over2}. $$