HP -15C Advanced Functions Handbook page 95

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

Advertisement

Section3: Calculating in Complex Mode
93
To use this program:
1. Enter your subroutine labeled "B" into program memory. It
should place into the real X-register Im(P(2)) when
calculating streamlines or Re(P(2)) when calculating
equipotential lines.
2.
Press 6 Q] | D I M | I7JJ1 to reserve registers R
0
through R
6
(and the
Index register). (Your subroutine may require additional
registers.)
3.
4.
Enter the values of n and h into the Z- and Y-registers by
pressing n | E N T E R ] h | ENTER | .
Enter the complex value of z
0
= X
Q
by pressing x
0
1 ENTER) y
0
BJ E •
iy
0
into the X-registers
5.
Press Q] [A] to display the successive values of x^ and y^ for
k = 1, ..., n and finally the descriptor of matrix A. The values
for k = 0, ..., n are stored in matrix A.
6.
If desired, recall values from matrix A.
Example: Calculate the streamline of the potential P(z) — 1/2 + 2
passing through 2 = -2 + O . l z .
First, enter subroutine "B" to compute Im(P(2)).
Display
062-42,21,12
063-
36
Duplicates 2.
064-
15
065-
40
Calculates 1/2+ 2.
066-
4230 Places Im(P(2)) in X-
register.
067-
43 32
Determine the streamline using 2
0
— -2 + 0.1 z, step size h = 0.5, and
number of points n = 9.
Display
9.0000
0.5000
Run mode.
Enters n.
Enters h.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents