The integral is .
Consider the number of subintervals as .
Width of the interval is
End points : .
.
Consider the sample points to be the right endpoints.
Riemann sum is .
Substitute and in above expression.