Use the Midpoint Rule to approximate the integral: (10x-3x^2)dx from -1 to 5 with n=3

Make three increments (-1to1, 1 to 3, 3 to 5)

The midpoint are zero, 2, and 4
f(x)=x(10-3x)
f(0)=0
f(2)=8
f(4)=-8
INT= area= 2*0+2(8) + 2(-8)=0

checking it with the actual integral
int=5x^2-x^3 from -1 to 5
= 5(25)-(125) - 5 -1=-6
THUS SPAKE ZARATHUSTRA
Approximations are approximations.