Gauss-Chebyshev Quadrature - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: HP-41C Software Library (/forum-11.html) +--- Thread: Gauss-Chebyshev Quadrature (/thread-5758.html) |
Gauss-Chebyshev Quadrature - Namir - 02-24-2016 03:57 PM This is a program that calculates the area under a function using the Gauss-Chebyshev quadrature. The program prompts you for: 1. The lower limit of the integral, A. 2. The upper limit of the integral, B. 3. The number of points to use for the calculations, N. This is also the order of Chebyshev polynomial used in the calculations. LBL E has the code for the function you want to integrate. Currently, the program integrates the function f(x)=1/x. The version of the quadrature implemented has equal weights of pi/N. The memory map is: Code:
Code: 1 LBL "GCQD" |