how to find right riemann sum with a table