methods of rectangles, trapezoids, and Simpson