Here is an example of using Gaussian quadrature rule through two approaches:
EITHER
by applying it on the original integrand by updating the argument of the integrand
OR
by applying it to the equivalent integrand because of the need to change the limits of integration to: -1 to 1.
http://nm.MathForCollege.com/blog/3pointquadruleexample.pdf
___________________
This post is brought to you by
- Holistic Numerical Methods: Numerical Methods for the STEM undergraduate at http://nm.MathForCollege.com
- Introduction to Matrix Algebra for the STEM undergraduate at http://ma.MathForCollege.com
- the textbook on Numerical Methods with Applications available from the lulu storefront,
- the textbook on Introduction to Programming Concepts Using MATLAB, and
- the Massive Open Online Course (MOOC) available at https://canvas.instructure.com/enroll/KYGTJR