Some Remarks on the Midpoint Rule in Numerical Integration