Derivative-Based Midpoint Quadrature Rule