Solving and Integrating Programs
14–9
File name 33s-E-Manual-1008-Publication(1st).doc Page : 386
Printed Date : 2003/10/8 Size : 13.7 x 21.2 cm
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
tS
0
)
sin
( )(
This function can be evaluated by integrating a program that defines the
integrand:
Defines the function.
The function as an expression. (Checksum and length:
EE00 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.