Conditional Tests - HP -15C Owner's Handbook Manual

Hide thumbs Also See for HP-15C:
Table of Contents

Advertisement

132
Section 11: Calculating With Complex Numbers

Conditional Tests

For programming, the four conditional tests below will work in the complex
sense: ~ and T 0 compare the complex number in the (real and
imaginary) X-registers to 0 + 0i, while T 5 and T 6 compare the
complex numbers in the (real and imaginary) X- and Y-registers. All other
conditional tests besides those listed below ignore the imaginary stack.
~ T 0 (x ≠ 0) T 5 (x = y) T 6 (x ≠ y)
Example: Complex Arithmetic. The characteristic impedance of a ladder
network is given by an equation of the form
where A and B are complex numbers. Find Z
A = 1.2 + 4.7i and B = 2.7 + 3.2i.
Keystrokes
1.2 v 4.7 ´ V
2.7 v 3.2 ´ V
÷
¤
´ % (hold)
(release)
A
Z 
,
0
B
Display
1.2000
2.7000
1.0428
1.0491
0.2406
1.0491
for the hypothetical values
0
Enters A into real and
imaginary X-registers.
Enters B into real and
imaginary X-registers,
moving A into real and
imaginary Y-registers.
Calculates A/B.
Calculates Z
and
0
displays real part.
Displays imaginary part
while % is held
of Z
0
down.
Again displays real part
of Z
.
0

Advertisement

Table of Contents
loading

Table of Contents