122 Section 11: Calculating With Complex Numbers
Example: Add 2 + 3i and 4 + 5i. (The operations are illustrated in the stack
diagrams following the keystroke listing.)
Keys real part of first number
into (real) Y-register.
Keys imaginary part of first
number into (real)
X-register.
Creates imaginary stack; moves
the 3 into the imaginary X-
register, and drops the 2 into the
real X-register.
Keys real part of second number
into (real) Y-register.
Keys imaginary part of second
number into (real) X-register.
Copies 5 from real
X-register into imaginary
X-register, copies 4 from real Y-
register into real X-register, and
drops stack.
of sum while the % key is held.
(This also terminates digit entry.)
The operation of the real and imaginary stacks during this process is
illustrated below. (Assume that the stack registers have been loaded already
with the numbers shown as the result of previous calculations). Note that
the imaginary stack, which is shown below at the right of the real stack, is
not created until ´ V is pressed. (Recall also that the shading of the
stack indicates that those contents will be written over when the next
number is keyed in or recalled.)