For $f \colon [1,2] \to \mathbb{R}$ , $f(x) = 1/x$, Choose a sequence of step functions $\phi_n$ approximating $f$ with partition $P_n := [r/n : n < r < 2n]$ to show that $ 1/(n+1) + \cdots + 1/2n \to \int_1^2 x^{-1} dx$ as $ n \to \infty$
So far i have played about with the right hand side of the integral, which equals log2, to no avail. f is continuous on [1,2], hence regulated. So we know that for any sequence of step functions $(\phi_n)_{n=1}^\infty$ converging to f uniformly, the sequence $(\int_a^b \phi_n(x) dx)_{n=1}^\infty$ also converges. So i know that if i am to choose a sequence of step functions $\phi$ approximating f that it will converge, but im not sure how to choose $\phi$