integrate using midpoint method x^3 + 2 x from 1 to 5