RPN Advanced 42 manual · Chapter 15 of 18
Integration
Integrate a program numerically between two limits.
15.1Integrate a program#
Shift 8 (∫f(x)) integrates a program numerically. Choose the program, then the variable to integrate over. A menu appears with LLIM (lower limit), ULIM (upper limit), ACC (accuracy) and ∫. Type a value and press its menu key to store it; press the key with nothing typed to see its value.

Integrate x² − 2 from 0 to 3
Make the program FX, open ∫f(x), pick FX and then X.
⇧PRGMR/S⇧PGM.FCN3Σ+⇧ALPHAENTER1/xΣ+XEQ1/xENTER⇧PGM.FCN3▼▼Σ+XEQ1/xENTERRCL⇧ALPHAENTERXEQ1/xENTER⇧x²√x2−⇧PGM.FCN31/x⇧PRGMR/SEXITEXIT⇧∫f(x)8Σ+Σ+Store the lower limit 0 and the upper limit 3.
0Σ+31/x
Press ∫ (sixth key).
XEQ

∫=3.0000The answer and the error estimate on the stack
Run as above and close the menus: X is the integral and Y a small error estimate.
⇧PRGMR/S⇧PGM.FCN3Σ+⇧ALPHAENTER1/xΣ+XEQ1/xENTER⇧PGM.FCN3▼▼Σ+XEQ1/xENTERRCL⇧ALPHAENTERXEQ1/xENTER⇧x²√x2−⇧PGM.FCN31/x⇧PRGMR/SEXITEXIT⇧∫f(x)8Σ+Σ+0Σ+31/xXEQEXITEXITEXIT

x: 3.0000Recall a limit
Store 2 in ULIM, then press ULIM again with nothing typed.
⇧PRGMR/S⇧PGM.FCN3Σ+⇧ALPHAENTER1/xΣ+XEQ1/xENTER⇧PGM.FCN3▼▼Σ+XEQ1/xENTERRCL⇧ALPHAENTERXEQ1/xENTER⇧x²√x2−⇧PGM.FCN31/x⇧PRGMR/SEXITEXIT⇧∫f(x)8Σ+Σ+21/x1/x

ULIM=2.0000See also Integrate on an RPN calculatorFind a definite integral
HP-42S is a trademark of HP Inc.. Trident Calculator is an independent product by South View Studios and is not affiliated with, sponsored by or endorsed by HP. The name is used only to describe the kind of calculator this model resembles; Trident's names, keys, display, fonts and software are its own clean-room design.