integrate using midpoint method x^3 - 4 x^2 + 7 x + 10 from 1 to 3