To generate a sequence, To generate a sequence -9, Sequences – HP 49g Graphing Calculator User Manual
Page 92
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
![background image](/manuals/632032/92/background.png)
Sequences
Sequence commands automate the generation of a list from the repeated
execution of a fimction or program.
To generate a sequence
In algebraic mode:
1. Specify the sequential calculation command.
0
{PRG) LIST PROCEDURES SEQ.
2. Enter the function or program (or its name).
3.
Enter the index variable name.
4.
Enter tire initial value for the variable.
5. Enter the final value for the variable.
6. Enter tire step size of the increment.
The number of elements generated is the integer portion of {{f inal -
initiaiystejf + 1.
7. Press
In RPN mode: follow steps 2,
3, 4,
5, 6, and 1.
Example:
Generate a list of the squares of the integers from 15 to 19.
1.
Press
0
(PRG) LIST PROCEDURES SEQ.
2. Enter 0О0
0x®
® and press 0Q.
Note that tick marks are needed to delimit the algebraic object.
3.
Enter
X
and press ©O.
X is the variable that will be evaluated at each iteration.
4.
Enter 15 aird press
©O.
15 is the initial value, that is, the value used in the first iteration.
5. Enter 19 and press ©O.
19 is the final value, that is, the value used in the last iteration.
6. Enter 1.
1 is the step value, that is, by how much the initial value will be incre
mented after each iteration.
7. Press '
The result is ¡225, 256, 289, 324, 361).
Lists and Sequences
Page 9-9