Complex Operations (CPL)
This program permits chained calculations involving complex num-
bers in rectangular form. Five complex operators are provided (add,
subtract, multiply, divide, and power), as well as two commonly used
functions (reciprocal and magnitude). Functions and operators may be
mixed in the course of a calculation to allow evaluation of certain ex-
pressions such as z1/(zo + z3) and (z; + 2;)/z3, where z;, z;, and 23
are complex numbers in rectangular form z = a + bi.
This program uses R, through R,.
Program Instructions:
1. Press (%]
to enter Program mode, [(H]
C to load the
program, and (H]
to exit Program mode.
2. Enter the keystrokes for the desired complex operation. The
imaginary part of the result is displayed. For each operation ex-
cept magnitude, press (€]
to see the real part.
Operation
Keystrokes
Addition
a
b,
A a,
b,
(@1 +bqi)+(as+byi)
Subtraction
a
by
B a,
by
(a1 +b1l)—'(32+b21)
Multiplication
a
b,
C ap
b,
(31 +b1l) X (82+b2i)
Division
a
by
D a,
by
(31 +b1i)+(82+b2i)
Reciprocal
ay
b,
E
1-+(a+bi)
Integer power
a
b,
Fn
(@+bi)"
Magnitude
a
b
9
\/a2
B2
ac+b
94
7: Built-in Program Library