Since, is countinous on its isintegrable-meaning its Riemann Sum exists. Since the Riemann sum if its exists is independent of the partion of the interval (mathematical term is well-defined) we can use any one. The one I am going to use is the right-endpoint partion which is,

Where,

and and thus what we have is,

=

Using the rule,

we have,