approximate the area under the function between a and b using a right-hand sum with the given number of intervals
a=0 b=10
a=0 b=10