(PC-12xx~14xx) qgaus Gauss-Legendre quadrature
|
03-28-2021, 01:47 PM
Post: #1
|
|||
|
|||
(PC-12xx~14xx) qgaus Gauss-Legendre quadrature
GAUSS-LEGENDRE 10 POINT QUADRATURE
Estimate definite integral over open interval with Gauss Legendre For SHARP PC-12xx to 14xx 349 bytes BASIC image (PC-1350) Credit: Numerical Recipes qgaus See also: https://en.wikipedia.org/wiki/Gaussian_quadrature Precision: 1E-3 to 1E-10 Points: 10 (fixed) Example: 300 "F1" Y=4/(1+X*X): RETURN RUN f=F1 a=0 b=1 3.141592654 310 "F2" Y=ATN(1/X): RETURN RUN f=F2 a=0 b=1 1.131971754 Code: ' GAUSS-LEGENDRE 10 POINT QUADRATURE "I count on old friends" -- HP 71B,Prime|Ti VOY200,Nspire CXII CAS|Casio fx-CG50...|Sharp PC-G850,E500,2500,1500,14xx,13xx,12xx... |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(PC-12xx~14xx) qgaus Gauss-Legendre quadrature - robve - 03-28-2021 01:47 PM
|
User(s) browsing this thread: 1 Guest(s)