The Museum of HP Calculators

HP Forum Archive 20

[ Return to Index | Top of Index ]

Integration in a program on 42s?
Message #1 Posted by snaggs on 19 Sept 2011, 7:27 a.m.

Ive nearly finished a normal distribution program for my 42s. However, I cant work out how to programatically specify the upper and lower integration limits. On the 35s you just load them in the stack.

Daniel.

      
Re: Integration in a program on 42s?
Message #2 Posted by MK-52 on 19 Sept 2011, 8:20 a.m.,
in response to message #1 by snaggs

Hi. Here is an example.

01 LBL "PINTG"
02 PGMINT "ND"
03 0
04 STO "LLIM"
05 1
06 STO "ULIM"
07 1E-5
08 STO "ACC"
09 INTEG "X"
10 2
11 PI
12 *
13 SQRT
14 /
15 END

01 LBL "ND"
02 MVAR "X"
03 RCL "X"
04 X^2
05 +/-
06 2
07 /
08 E^X
09 END

            
Re: Integration in a program on 42s?
Message #3 Posted by snaggs on 19 Sept 2011, 11:28 a.m.,
in response to message #2 by MK-52

Thanks just what I needed!


[ Return to Index | Top of Index ]

Go back to the main exhibit hall