In the following two questions I need to find the pointwise limit of the sequence defined for $x\in R$. I have had some success with the first example and believe I have done it correct. But in the second example I am not sure how to find the pointwise limit or if it is uniformly convergent
1) $f_n(x) = \dfrac{nx+x^2}{n^2}$. Then $$ \lim\limits_{n\to\infty} f_n(x) =\lim\limits_{n\to\infty} \left(\dfrac{x}{n} + \dfrac{x^2}{n^2}\right) = x\left(\lim\limits_{n\to\infty} \dfrac{1}{n}\right) + x^2\left(\lim\limits_{n\to\infty} \dfrac{1}{n^2}\right)=0+0=0$$
So this converge pointwise to $0$.
However how do I find the pointwise limit of the following sequence and whether or not that it uniformly converges?
2) $f_n(x) = e^{-(x-n)^2}$