Area under curve using trapezoids and rectangles

Area under curve using trapezoids and rectangles