Lists of complex numbers – HP 48gII User Manual

Page 262

Advertising
background image

Page 8-7

%({10, 20, 30},1) = {%(10,1),%(20,1),%(30,1)},

while

%(5,{10,20,30}) = {%(5,10),%(5,20),%(5,30)}


In the following example, both arguments of function % are lists of the same
size. In this case, a term-by-term distribution of the arguments is performed,
i.e.,

%({10,20,30},{1,2,3}) = {%(10,1),%(20,2),%(30,3)}


This description of function % for list arguments shows the general pattern of
evaluation of any function with two arguments when one or both arguments
are lists. Examples of applications of function RND are shown next:

Lists of complex numbers

The following exercise shows how to create a list of complex numbers given
two lists of the same length, one representing the real parts and one the
imaginary parts of the complex numbers. Use L1 ADD i*L2. The screen also
shows that the resulting complex-number list is stored into variable L5:

Functions such as LN, EXP, SQ, etc., can also be applied to a list of complex
numbers, e.g.,

Advertising
This manual is related to the following products: