Question: rightsum approximation

I'm trying to find a function f(n) that will give the rightsum approximation of x^6 on the interval 0..4 using n rectangles and so far im coming up with nada.

So far this is what I have.

f:=n->rightsum(n^6, n=0..4,n);

but then later I'm trying to use this in a limit to find the area under the curve as n goes to infinity and I keep gettin infinity back which it absolutely is not. Would love to get some help on this as I have been droning on it for to long.

Please Wait...