.The Gaussian quadrature rule havingw(x) = 1 for integrals on [−1,1] (cf. Table 5.6) is calledGauss–Legendre quadraturebecause it relies on the Legendre polynomials. The nodes and weights for the 10-point Gauss–Legendre rule are given.
a.Plot the weights versus the nodes.
b.Find the area under the curvey=x2 between −1 and 1. Compare this with the exact answer and comment on the precision of this quadrature technique.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here