Numerical Analysis, Numerical Integration.
only be accurate for degree at most n. Both original functions (degree 3 in purple) in our first graph and (degree 2 in black) in our second graph, intersect their remainder functions (the red and blue lines) that are of degree 1, at the x values equivalent to the zeros of the Legendre Polynomial,