This nal project discusses a modication closed Newton-Cotes method by adding the value of the derivative function at the midpoint which is also called midpoint-derivative based closed Newton-Cotes method to approximate denite integral. Then, the results of numerical computation show that the approximation of midpoint-derivative based closed Newton-Cotes method is closer to the exact sol…