HP (Hewlett-Packard) 32SII Calculator User Manual


 
14–8 Solving and Integrating Programs
File name 32sii-Manual-E-0424
Printed Date : 2003/4/24 Size : 17.7 x 25.2 cm
is ignored by the calculator, so you need to write only one program that
contains a separate INPUT instruction for every variable (including the
variable of integration).
If you include no INPUT instructions, the program uses the values stored in
the variables or entered at equation prompts.
3. Enter the instructions to evaluate the function.
A function programmed as a multi–line RPN sequence must calculate
the function values you want to integrate.
A function programmed as an equation is usually included as an
expression specifying the integrand — though it can be any type of
equation. If you want the equation to prompt for variable values
instead of including INPUT instructions, make sure flag 11 is set.
4. End the program with a RTN. Program execution should end with the value
of the function in the X–register.
Example:
Program Using Equation.
The sine integral function in the example in chapter 8 is
=
t
i
dx
x
x
tS
0
)
sin
()(
This function can be evaluated by integrating a program that defines the
integrand:


Defines the function.

1%2ª%
The function as an expression. (Checksum and length:
4914 009.0).

!
Ends the subroutine
Checksum and length of program: C62A 012.0
Enter this program and integrate the sine integral function with respect to x
from 0 to 2 (t = 2).
Keys: Display: Description: