integrate using midpoint method (2 x^2 + 3 x - 2) - 0 from 1 to 3