Find A Formula For The Riemann Sum, It can find the Riemann sum of both types.