HP (Hewlett-Packard) 39g+ Calculator User Manual


 
14-8 Lists
MAKELIST Calculates a sequence of elements for a new list.
Evaluates expression with variable from begin to end
values, taken at increment steps.
MAKELIST(expression,variable,begin,end,
increment)
The MAKELIST function generates a series by
automatically producing a list from the repeated
evaluation of an expression.
Example
In HOME, generate a series of squares from 23 to 27.
L Select
MAKELIST
A
A 23
27 1
ΠLIST Calculates the product of all elements in list.
ΠLIST(list)
Example
ΠLIST({2,3,4}) returns 24.
POS Returns the position of an element within a list. The
element can be a value, a variable, or an expression. If
there is more than one instance of the element, the
position of the first occurrence is returned. A value of 0 is
returned if there is no occurrence of the specified element.
POS(list, element)
Example
POS ({3, 7, 12, 19},12) returns 3
REVERSE Creates a list by reversing the order of the elements in a
list.
REVERSE(list)