To append a new object to the end of a list, List processing, To append a new object to the end of a list -2 – HP 49g Graphing Calculator User Manual
Page 85: List processing -2, Apply, List
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
To append a new object to the end oF a list
1. Enter or select the list.
2. Press
0.
3. Enter or select the new object.
4. Press (H).
In RPN mode: follow steps 1, 3, and 2.
List Processing
To
apply
a one-argument command to each element in a
list
The order in which you enter the command and tire list depends on the
type of function it is: prefix or postfix.
A prefix function is one whose name or abbreviation usually comes
before its arguments; for example, SIN^) and SQ(x, y).
A postfix function is one whose name or abbreviation usually comes
after its arguments; for example, 6!.
The followmg example shows how to the apply a one-argument prefix
conunand to a list if you are working in algebraic mode. The table below
the example gives the order of the steps for postfix frmctions, and for
when you are working in RPN mode.
1. Enter or select the command.
For example, SQ().
2. Enter or select the list.
For example, SQ({3, 4, 5|).
3.
Press
(ENTER).
The answer is a new list, with each element the square of each element
in the original list: {9, 16, 25}.
Page 9-2
Lists and Sequences