A "Riemann sum" is always of the form and the reduces to the integral .

Basically, what you need to do is determine which part of the sum you want to be " " and which part you want to be " ".

However, you " " as the upper limit as your sum. That is impossible. You cannot have "k", the sum index in the upper limit.