My book doesn't have any good examples on numerical integration. We're supposed to know how to draw a "picture", derive a formula, concavity, and show overestimate and underestimate; using Trapezoid and Midpoint errors.

Can someone give me an example of this?

Thanks.