Riemann Sum and Integrability