Figure 70
By symmetry, the centroid of the \(i\)th rectangle is at \(\left(u_{i}, \frac{1}{2} f (u_{i}) \right)\).