Gaussian integration for the HP-11C/15C
11-30-2016, 07:47 PM (This post was last modified: 11-30-2016 07:48 PM by Gerson W. Barbosa.)
Post: #3
 Gerson W. Barbosa Senior Member Posts: 1,272 Joined: Dec 2013
RE: Gaussian integration for the HP-11C/15C
(11-30-2016 03:18 PM)Marcio Wrote:  I can not figure out why it won't work on the 15c. I thought it was because DSE (step 39) requires a pointer (I) on the 15C. Well, it is not.

No problem here. Probably you forgot to store the number of intervals in register I (see SlideRule's post above). Alternatively, you can do that programmatically:

01 LBL A     16 CLX       31 RCL 1
02 STO I     17 STO 2     32 GSB E
03 Rv        18 LBL 0     33  8
04 STO 1     19 RCL 1     34  *
05  -        20 RCL+3     35 STO-2
06 RCL/I     21 GSB E     36 RCL 0
07 STO 0     22  5        37 STO+1
08  2        23  *        38 DSE I
09  /        24 STO-2     39 GTO 0
10 STO+1     25 RCL 1     40 RCL*2
11  .        26 RCL-3     41  1
12  6        27 GSB E     42  8
13 SQRT      28  5        43  /
14  *        29  *        44 RTN
15 STO 3     30 STO-2     45 LBL E

Usage:

a ENTER b ENTER n ENTER GSB A

Example:

47 LBL E
48 LN
49 RTN

1 ENTER 2 ENTER 3 GSB A --> 0.386294376

Gerson.
 « Next Oldest | Next Newest »

 Messages In This Thread Gaussian integration for the HP-11C/15C - Marcio - 11-30-2016, 03:18 PM RE: Gaussian integration for the HP-11C/15C - SlideRule - 11-30-2016, 07:31 PM RE: Gaussian integration for the HP-11C/15C - Gerson W. Barbosa - 11-30-2016 07:47 PM RE: Gaussian integration for the HP-11C/15C - Marcio - 12-01-2016, 12:18 PM RE: Gaussian integration for the HP-11C/15C - Gerson W. Barbosa - 12-01-2016, 03:48 PM

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