Saturday, May 20, 2017

HP 12C: Complex Arithmetic (Addition, Multiplication, and Division)

HP 12C:   Complex Arithmetic (Addition, Multiplication, and Division)

Let A and B represent the two complex numbers

A = R1 + R4*i
B = R2 + R5*i

Where i = √-1

Store real components in R1 and R2, and imaginary parts R4 and R5.  Choose the arithmetic calculations:

Enter 0 for addition:  A + B
Enter 1 for multiplication:  A * B
Enter 2 or otherwise for division:  A ÷ B

Result:  C = R3 + R6*i

Program:
STEP
CODE
KEY
01
44, 0
STO 0
02
43, 35
X=0
03
43, 33, 09
GTO 09
04
1
1
05
30
-
06
43, 35
X=0
07
43, 33, 18
GTO 18
08
43, 33, 35
GTO 35
09
45, 1
RCL 1
10
45, 2
RCL 2
11
40
+
12
44, 3
STO 3
13
45, 4
RCL 4
14
45, 5
RCL 5
15
40
+
16
44, 6
RCL 6
17
43, 33, 63
GTO 63
18
45, 1
RCL 1
19
45, 2
RCL 2
20
20
*
21
45, 4
RCL 4
22
45, 5
RCL 5
23
20
*
24
30
-
25
44, 3
STO 3
26
45, 1
RCL 1
27
45, 5
RCL 5
28
20
*
29
45, 2
RCL 2
30
45, 4
RCL 4
31
20
*
32
40
+
33
44, 6
STO 6
34
43, 33, 63
GTO 63
35
45, 2
RCL 2
36
36
ENTER
37
20
*
38
45, 5
RCL 5
39
36
ENTER
40
20
*
41
40
+
42
44, 0
STO 0
43
45, 1
RCL 1
44
45, 2
RCL 2
45
20
*
46
45, 4
RCL 4
47
45, 5
RCL 5
48
20
*
49
40
+
50
45, 0
RCL 0
51
10
÷
52
44, 3
STO 3
53
45, 4
RCL 4
54
45, 2
RCL 2
55
20
*
56
45, 1
RCL 1
57
45, 5
RCL 5
58
20
*
59
30
-
60
45, 0
RCL 0
61
10
÷
62
44, 6
STO 6
63
45, 3
RCL 3
64
31
R/S
65
45, 6
RCL 6
66
43, 33, 00
GTO 00

Example:
A = 4.25 + 3.16*i, B = -2.27 + 1.04*i

Option 0 (+):  1.98 + 4.20*i
Option 1 (*):  -12.93 – 2.75*i
Option 2 (÷): -1.02 – 1.86*i

Eddie

This blog is property of Edward Shore, 2017



TI 84 Plus CE: Consolidated Debts

TI 84 Plus CE: Consolidated Debts   Disclaimer: This blog is for informational and academic purposes only. Financial decisions are your ...