midpoint rule [//math:2x+2//] on [-2,0 ] with 2 intervals