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


 
Solving and Integrating Programs
14–9
File name 33s-English-Manual-040130-Publication(Edition 2).doc Page : 388
Printed Date : 2004/1/30 Size : 13.7 x 21.2 cm
Example: Program Using Equation.
The sine integral function in the example in chapter 8 is
=
t
0
dx( Si(t) )
x
xsin
This function can be evaluated by integrating a program that defines the
integrand:


Defines the function.


The function as an expression. (Checksum and length:
0EE0 8).


Ends the subroutine
Checksum and length of program: BDE3 17
Enter this program and integrate the sine integral function with respect to
x from 0
to 2 (
t = 2).
Keys:
(In RPN mode)
Display: Description:
Ý
{

}
Selects Radians mode.
º
s
S
Selects label S as the integrand.
0
Ï
2
_
Enters lower and upper limits of
integration.
º
"
X



Integrates function from 0 to 2;
displays result.
Ý
{

}

Restores Degrees mode.
Using Integration in a Program
Integration can be executed from a program. Remember to include or prompt for
the limits of integration before executing the integration, and remember that
accuracy and execution time are controlled by the display format at the time the
program runs. The two integration instructions appear in the program as:

label