I need to find the area under: $f(x) = 64 - x^3$ in $[2,4]$.
I know the base is $\frac{2}{n}$ and the height is $64 - \left(2 + \frac{2i}{n}\right)^3$ when I distribute everything I get
$$\frac{2}{n}\cdot \left[ 64 -8 -\frac{16i}{n} -\frac{16i^2}{n^2}
-\frac{8i^3}{n^3}\right].$$
Am I having some algebra issue here?