2. $\displaystyle 0 = \int f$ but $\displaystyle \lim\int f_n = \lim\int_{[0,n]}\frac1n =\lim \frac1n\cdot n = \lim1 = 1$.