Evaluate the upper and lower sums

Evaluate the upper and lower sums for f(x) = 2 + sin x, 0 ≤ x ≤ π, with n = 2, 4, and 8. Illustrate with diagrams.