Post Reply 
Help in programming integration with HP-32SII
06-01-2023, 01:04 PM (This post was last modified: 06-01-2023 01:41 PM by Namir.)
Post: #1
Help in programming integration with HP-32SII
Issue solved!

Namir
Find all posts by this user
Quote this message in a reply
06-01-2023, 09:25 PM
Post: #2
RE: Help in programming integration with HP-32SII
Share rhe problem and solution. We can all learn. Thanks
Find all posts by this user
Quote this message in a reply
06-02-2023, 01:49 AM (This post was last modified: 06-02-2023 01:57 AM by Namir.)
Post: #3
RE: Help in programming integration with HP-32SII
To integrate say f(x)=1/x between A and B (stored in registers A and B), use the following code

Code:

LBL A
RCL A
RCL B
FN= B
<integral symbol> FN d X
RTN
LBL B
INV(X)
RTN

LBL B has the EQUATION INV(X) (entered using the EQN feature in program mode). The step FN= B (you press the FN= and then press RCL B) tells the machine that the function to be integrated is in LBL B. The step <integral symbol> FN d X (you press the integral symbol and then RCL X) involves the integration using variable X which also appears in the equation INV(X) located after LBL B. The limits of the integration are in the stack, supplied by registers A and B (for the lower and upper integration limits).


Namir
Find all posts by this user
Quote this message in a reply
Post Reply 




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