Keystrokes display – HP 15c User Manual

Page 68

Advertising
background image

68

Section 3: Calculating in Complex Mode

68

Keystrokes

Display

´V

029- 42 25

Forms complex z

0

.

*

030- 20

Calculates z

0

e

ik360 / n

, root

number k.

lV

031- 45 25

Recalls number k.

®

032- 34

Places z

k

in X-registers, k in Y-

register.

1

033- 1

O+V

034-44,40,25

Increments number k in Index
register.

)

035- 33

Restores z

k

and k to X- and Y-

registers.

¦

036- 31

Halts execution.

t0

037- 22 0

Branch for next root.

Labels used: A and 0.

Registers used: R

2

, R

3

, R

4

, and Index register.

To use this program:

1. Enter the order n into the Y-register and the complex number z into the X-registers.

2. Press ´A to calculate the principal root z

0

which placed in the real and imaginary X-

registers. (Press´% and hold to view the imaginary part).

3. To calculate higher number roots z

k

:

Press ¦

to calculate each successive higher-number root. Each root z

k

is placed in

the complex X-registers and its number k is placed in the Y-register. Between root
calculations, you can perform other calculations without disturbing this program (if
R

2

, R

3

, R

4

, and the Index register aren't changed).

Store the number of the root k in the Index register (using OV then press ¦
to calculate z

k

. The complex root and its number are placed in the X- and Y-registers,

respectively. (By pressing ¦

again, you can continue calculating higher-number

roots.)

Example: Use the previous program to compute (1)

1/100

. Calculate z

0

, z

1

, z

50

for this

expression.

Keystrokes

Display

Run mode.

100

v1

1

Enters n = 100 and z = 1 (purely
real).

´A

1.0000

Calculates z

0

(real part).

´% (hold)

0.0000

Imaginary part of z

0

.

Advertising