Numerical Analysis, Numerical Integration.
the Legendre zeros, is exact for a degree ≤ 2n+1 polynomial. To see this process in action, let’s look at an example. We will construct a Gaussian Quadrature to accurately calculate the integral of the polynomial f(x)=x³+x²+x+1 over the bounds [-1,1]. This polynomial is degree 3 (in this case