The seq function, The map function, Reference – HP 49g+ User Manual

Page 109

Advertising
background image

Page 7-6

The SEQ function

The SEQ function, available through the command catalog (

‚N), takes

as arguments an expression in terms of an index, the name of the index, and
starting, ending, and increment values for the index, and returns a list
consisting of the evaluation of the expression for all possible values of the
index. The general form of the function is

SEQ(expression, index, start, end, increment)


For example:

The list produced corresponds to the values {1

2

, 2

2

, 3

2

, 4

2

}.

The MAP function

The MAP function, available through the command catalog (

‚N), takes

as arguments a list of numbers and a function f(X), and produces a list
consisting of the application of function f or the program to the list of numbers.
For example, the following call to function MAP applies the function SIN(X) to
the list {1,2,3}:


Reference

For additional references, examples, and applications of lists see Chapter 8 in
the calculator’s User’s Guide.

Advertising