Methods of rectangles, trapezes and Simpson