Gauss-Chebyshev Quadrature
|
02-24-2016, 03:57 PM
(This post was last modified: 03-04-2021 11:17 PM by Namir.)
Post: #1
|
|||
|
|||
Gauss-Chebyshev Quadrature
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" |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)