Numerical Methods Library in Excel VBA: Tests Code For 8-Point Gaussian Quadrature Rule
Numerical Methods Library in Excel VBA: Tests Code For 8-Point Gaussian Quadrature Rule
com
Sub gl8tests
Title
Description
() ( )
0
=1
Obtained from the routine gl8.bas. The codes are tested on the functions
() = ( + 1) for = 1. .15, for which the integal is 1 and in Gaussian
quadrature the solution for polynomials up to one degree less than twice
the number of points is exact (if we ignore rounding error). The test code
compares the result of the integration to one in each case.
Interface
Sub gl8tests()
Web source of
code.
http://www.numerical-methods.com/Excel_VBA/gl8.xlsm
Web source of
this guide
Web source of
the algorithm
www.numerical-methods.com/Excel_VBA/gl8tests_bas.htm
Dependent
routines
NONE
Test problems or
code tested
http://www.numerical-methods.com/Excel_VBA/gl8_bas.htm
Licence
This is open source; the software may be used and applied within other
systems as long as its provenance is appropriately acknowledged.
See the GNU Licence for more information or contact
webmaster@numerical-methods.com
Similar codes
that may be of
interest
Applications
Bibilography
Gaussian Quadrature