In fact taking n points gives exactness for all polynomials of degree <= 2n-1.
https://en.wikipedia.org/wiki/Gaussian_quadrature
That is very interesting in some way. So Where did the special set of n points come from? How did this work?
Take 21-369 Numerical Methods to learn more about polynomial interpolation and numerical integration! :)
In fact taking n points gives exactness for all polynomials of degree <= 2n-1.
https://en.wikipedia.org/wiki/Gaussian_quadrature
That is very interesting in some way. So Where did the special set of n points come from? How did this work?
Take 21-369 Numerical Methods to learn more about polynomial interpolation and numerical integration! :)