I'm asked to give an example of a sequence $\left\{f_{n}\right\}$ of functions and a function $f$ such that
(a) $f_{\mathrm{n}} \in \mathscr{R}[a, b]$ for every positive integer $n$
(b) $f \in \mathscr{R}[a, b]$
(c) $\lim _{n \rightarrow \infty} \int_{a}^{b} f_{n}=\int_{a}^{b} f$
(d) $\lim _{n \rightarrow \infty} f_{n}(x)$ does not exist for any $x \in[\mathrm{a}, \mathrm{b}]$
I think this is equivalent to giving a sequence of function $\{g_n\}$ such that $g_n$ converges to $g$ uniformly but $g_n'$ doesn't exist. But I can't find such an example