HP (Hewlett-Packard) HP 33s Calculator User Manual


 
Solving and Integrating Programs
14–7
File name 33s-English-Manual-040130-Publication(Edition 2).doc Page : 388
Printed Date : 2004/1/30 Size : 13.7 x 21.2 cm
Program Lines:
(In RPN mode)
Description:


Setup for X.


Index for X.


Branches to main routine.
Checksum and length: 4800 21


Setup for Y.


Index for Y.


Branches to main routine.
Checksum and length: C5E1 21


Main routine.


Stores index in i.


Defines program to solve.


Solves for appropriate variable.


Displays solution.


Ends program.
Checksum and length: D82E 18





Calculates
f (x,y). Include INPUT or equation
prompting as required.


Integrating a Program
In chapter 8 you saw how you can enter an equation (or expression) — it's added
to the list of equations — and then integrate it with respect to any variable. You
can also enter a
program that calculates a function, and then integrate it with
respect to any variable. This is especially useful if the function you're integrating
changes for certain conditions or if it requires repeated calculations.
To integrate a programmed function:
1. Enter a program that defines the integrand's function. (See "To write a
program for
FN" below.)