Use the Midpoint Rule to approximate the integral

15

5
(−2 x+6 x2)dx
with n=3.
<~ this was my final answer but it's wrong....

this was my formula:

(10/3)[(-2(20/3)) + (6(20/3)^(2))] + (10/3)[((-2(10)) + (6(10)^(2))] + (10/3)[((-2(40/3)) + (6(40/3)^(2))]

I had to fix the parenthesis sorry guys! i got it right