How To Find Right Endpoint Riemann Sum