Numerical Analysis, Numerical Integration.
setting up a system of equations for degree 0 and degree 1 polynomials, and solving for the unknowns. We can now test our quadrature! Taking our degree three function f(x) = x³+x²+x+1 from Example 1, whose integral over the bound [-1,1] is (8/3), we check our quadrature. Thus our quadrature is