How to calculate $$\lim_{n \rightarrow \infty} e^{-n} (\frac{1}{n}+1)^{n^2}$$?
The result should be $$\frac{1}{\sqrt{e}}$$
But I have no idea how to get it.
I've been only thinking of rules to multiply the $e^{-n}$ through somehow, but I don't seem to find anything. The different quantities also seem to work in different directions making interpretation difficult, since: $$e^{-n}\rightarrow 0$$ $$(\frac{1}{n}+1) \rightarrow 1$$ $$n^2 \rightarrow \infty$$
So these interactions make it difficult to say anything about this.
Perhaps there's a way to develop inequalities that show which terms will dominate when approaching infinity?