How can I prove that $f(x)$ is not pointwise convergent? And how can I draw this function?
$$ f_n(x) = \left\{\begin{aligned} &nx &&: 0 \ge x \ge \frac{1}{n}\\ &2-nx &&: \frac{1}{n} \ge x \ge \frac{2}{n}\\ &0 &&: \frac{2}{n} \ge x \ge 1 \end{aligned} \right.$$