The Map Function - HP F2226A - 48GII Graphic Calculator User Manual

Graphing calculator
Table of Contents

Advertisement

SEQ is useful to produce a list of values given a particular expression and is
described in more detail here.
The SEQ function 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).
2
In the following example, in ALG mode, we identify expression = n
, index =
n, start = 1, end = 4, and increment = 1:
2
2
2
2
The list produced corresponds to the values {1
, 2
, 3
, 4
}. In RPN mode,
you can list the different arguments of the function as follows:
before applying function SEQ.

The MAP function

The MAP function, available through the command catalog (‚N), takes
as arguments a list of numbers and a function f(X) or a program of the form
<<
a ... >>, 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}:
The following call to function MAP uses a program instead of a function as
second argument:
Page 8-12

Advertisement

Table of Contents
loading

This manual is also suitable for:

48gii

Table of Contents