Page 8-4
Subtraction, multiplication, and division of lists of numbers of the same length
produce a list of the same length with term-by-term operations. Examples:
The division L4/L3 will produce an infinity entry because one of the elements in
L3 is zero:
If the lists involved in the operation have different lengths, an error message is
produced (Error: Invalid Dimension).
The plus sign (+), when applied to lists, acts a concatenation operator,
putting together the two lists, rather than adding them term-by-term. For
example:
In order to produce term-by-term addition of two lists of the same length, we
need to use operator ADD. This operator can be loaded by using the function
catalog (‚N). The screen below shows an application of ADD to add lists
L1 and L2, term-by-term:
Real number functions from the keyboard
Real number functions from the keyboard (ABS, e
x
, LN, 10
x
, LOG, SIN, x
2
, √,
COS, TAN, ASIN, ACOS, ATAN, y
x
) can be used on lists. Here are some
examples: