Matlab Riemann sums?

No.11248767 ViewReplyOriginalReport
Not a Homework problem, but i cannot figure out how to do series summations in matlab.
for some reason it returns it as an expression, not as a double as wanted.
in this case a for loop will not work as it is too infinity.

any ideas? pic related.