Approximate $\sum_{k = 1}^n k^3$ with an integral.

As $k^3$ is a monotonically increasing function, we can write: