I'll study one of the numerical integration methods, the Newton-Cotes integration. The Newton-Cotes method approximates the integrand with a polynomial for integration, with the trapezoidal rule and Simpson's rule being typical examples. The Newton-Cotes method is not generally used as it does not yield results as accurate as the Gauss integration method. When there is the following definite int..