Post Reply 
HP71B Integral Questions
02-02-2020, 03:31 PM
Post: #1
HP71B Integral Questions
Tried on Emu71b, energy integral from thread Sharp EL-506 vs Sharo EL-516T

From the user's manual, about the algoritm, it uses Romberg's method, after a non-linear transform.

Code:
10 A=6371000 @ B=9.46073047258E+15 @ C=3.98589196E+17 @ A1=A-1
20 DEF FNA(X) @ N=N+1 @ FNA=C/EXP(X) @ END DEF
30 DEF FNB(X) @ N=N+1 @ X=EXP(X) @ FNB=C*X/(X+A1)^2 @ END DEF
40 INPUT "P=?";P
50 T=TIME @ N=0 @ I=INTEGRAL(LN(A),LN(B),P,FNA(IVAR))
60 DISP "IA(";N;") =";IROUND(I),IBOUND,TIME-T;"SEC"
70 T=TIME @ N=0 @ I=INTEGRAL(0,LN(B-A1),P,FNB(IVAR))
80 DISP "IB(";N;") =";IROUND(I),IBOUND,TIME-T;"SEC"

>RUN
P=?1E-5
IA( 127 ) = 62563050744     625265.300862     .11 SEC
IB( 255 ) = 62563050665     625640.053047     .3 SEC
>RUN
P=?1E-6
IA( 127 ) = 62563050647     62526.5300862     .11 SEC
IB( 255 ) = 62563050665     62564.0053047     .3 SEC
>RUN
P=?1E-7
IA( 255 ) = 62563050656     6255.39238586     .22 SEC
IB( 255 ) = 62563050665     6256.40053047     .31 SEC

Why does IA(127) have different area, for P=1E-5 vs P=1E-6 ?
Both are using exactly the same 127 sample points.

Does IBOUND (second column) has something to do with different IA(127) results ?
How is IBOUND intepreted ?
At what IBOUND numbers should an integral be splitted ?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP71B Integral Questions - Albert Chan - 02-02-2020 03:31 PM
RE: HP71B Integral Questions - Albert Chan - 02-03-2020, 01:58 PM
RE: HP71B Integral Questions - J-F Garnier - 02-03-2020, 03:00 PM
RE: HP71B Integral Questions - Albert Chan - 02-03-2020, 04:15 PM
RE: HP71B Integral Questions - Albert Chan - 02-03-2020, 11:15 PM
RE: HP71B Integral Questions - J-F Garnier - 02-05-2020, 08:43 AM
RE: HP71B Integral Questions - Albert Chan - 02-05-2020, 05:09 PM
RE: HP71B Integral Questions - Wes Loewer - 02-06-2020, 06:53 PM
RE: HP71B Integral Questions - Albert Chan - 02-06-2020, 11:16 PM
RE: HP71B Integral Questions - Wes Loewer - 02-07-2020, 03:49 AM
RE: HP71B Integral Questions - Albert Chan - 02-07-2020, 08:14 AM
RE: HP71B Integral Questions - J-F Garnier - 02-07-2020, 08:23 AM
RE: HP71B Integral Questions - Wes Loewer - 02-07-2020, 01:19 PM
RE: HP71B Integral Questions - Albert Chan - 02-07-2020, 05:08 PM
RE: HP71B Integral Questions - J-F Garnier - 02-07-2020, 05:54 PM
RE: HP71B Integral Questions - Wes Loewer - 02-07-2020, 08:16 PM
RE: HP71B Integral Questions - Wes Loewer - 02-07-2020, 08:12 PM
RE: HP71B Integral Questions - J-F Garnier - 02-05-2020, 06:20 PM
RE: HP71B Integral Questions - Albert Chan - 02-05-2020, 07:52 PM
RE: HP71B Integral Questions - J-F Garnier - 02-06-2020, 08:37 AM
RE: HP71B Integral Questions - Wes Loewer - 02-08-2020, 10:46 AM
RE: HP71B Integral Questions - J-F Garnier - 02-08-2020, 10:59 AM
RE: HP71B Integral Questions - Wes Loewer - 02-08-2020, 03:04 PM
RE: HP71B Integral Questions - Albert Chan - 02-09-2020, 01:43 PM
RE: HP71B Integral Questions - Wes Loewer - 02-09-2020, 08:33 PM
RE: HP71B Integral Questions - Albert Chan - 02-10-2020, 01:33 PM
RE: HP71B Integral Questions - Wes Loewer - 02-09-2020, 09:03 PM
RE: HP71B Integral Questions - Albert Chan - 02-11-2020, 05:03 PM
RE: HP71B Integral Questions - Albert Chan - 02-11-2020, 11:57 PM
RE: HP71B Integral Questions - Albert Chan - 02-21-2020, 11:23 PM



User(s) browsing this thread: 1 Guest(s)