I am to compute Compute $\int_0^2 x^3 d[x]$, where $[x]$ is the greatest integer function. I can think of this somewhat graphically, where at $[0,1)$ a straight line lies at $y=0$, $[1,2)$ a straight line lies at $y=1$. But using the Riemann Stieltjes integral, I am somewhat confused. Could anyone help?
Thanks