One can construct Riemann Integrable functions on [0,1], that have a dense set of discontinuities as follows.
(a) Let $f(x) =0$ when $x < 0$, and $f(x) = 1$ if $x\geq$ 0. Choose a countable dense sequence ${r_n}$ in [0,1]. Then Show that the function $$F(x) = \sum_{n = 1}^{\infty}\frac{1}{n^2}f(x - r_n)$$. is integrable and has discontinuities at all the points of the sequence ${r_n}$.Do I have to show that $F$ is monotonic and bounded? and the question has parts(b) & (c) also, Do part (a) is a way to construct Riemann Integrable functions on [0,1], that have a dense set of discontinuities or part (a) combined with part (b) & (c)?
(b)Consider next$$F(x) = \sum_{n=1}^{\infty}3^{-n} g(x- r_{n})$$. where $g(x)= sin\frac{1}{x}$ when $x\ne 0$, and $g(0) = 0$. Then $f$ is integrable, discontinous at each $x = r_n$, and fails to be monotonic in any subinterval of [0,1].
Could anyone help me?