20060301
2-8-22
Using the Action Menu
u
seq
Function: Generates a list in accordance with a numeric sequence expression.
Syntax: seq (Exp, variable, start value, end value [,step size] [ ) ]
Example: To generate a list in accordance with the expression
x
2
+ 2
x
when the start
value is 1, the end value is 5, and the step size is 2
Menu Item: [Action][List-Create][seq]
• “1” is the default when you omit “[,step size]”.
• The step size must be a factor of the difference between the start value and the end
value.
u
augment
Function: Creates a new list by appending one list to another.
Syntax: augment (List-1, List-2 [ ) ]
Example: To combine list {1, 2} and list {3, 4}
Menu Item: [Action][List-Create][augment]
u
fill
Function: Replaces the elements of a list with a specified value or expression. This
command can also be used to create a new list whose elements all contain the
same value or expression, or a new list in which the frequency of each element
in the first list is determined by the corresponding element in the second list.
Syntax: fill (Exp/Eq/Ineq, number of elements [ ) ]
fill (Exp/Eq/Ineq, List [ ) ]
• Ineq (inequality) includes the “
≠
” (not equal to) relational operator.
Syntax: fill (List, List [ ) ]
Example: To create a list consisting of four identical elements (2)
Menu Item: [Action][List-Create][fill]
Example: To replace the elements of the list {1, 2, 3} with 3
Menu Item: [Action][List-Create][fill]
Example: To create a list in which the frequencies of a, b and c are 1, 2 and 3, respectively
Menu Item: [Action][List-Create][fill]