Bessel Function by integrals
|
11-19-2023, 03:47 PM
(This post was last modified: 11-19-2023 03:48 PM by Namir.)
Post: #1
|
|||
|
|||
Bessel Function by integrals
Bessel Jn(x) for integer n order. The Advantage ROM is needed to use the INTEG routine.
The program uses: Jn(x) = 1/pi * integral_of(cos(n*t - x*sin(t)) dt for t from 0 to pi. Memory Map ========== Code: R00 = n Program Listing =============== Code: 01 LBL "BSLINT" Example ======= To calculate J3(4): 1. Set display using FIX 7. 2. Press [A]. The program displays the prompt "N?". 3. Enter 3 and then press [R/S]. 4. The program displays the prompt "X?". 5. Enter 4 and then press [R/S]. 6. The program calculates the Bessel function and displays 0.4301715. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)