Check what the closed form for the sum of i cubed is.

Sum[ i^3, {i,1,n}]

Demonstrate a definite integral in Mathematica.

Integrate[ x/2, {x,1,6}]

... and an antiderivative

Integrate[ x/2, x ]