 Gauss–Legendre quadrature

In numerical analysis, Gauss–Legendre quadrature is a form of Gaussian quadrature for approximating the definite integral of a function.For integrating over the interval , the rule takes the form