EasyManua.ls Logo

HP HP-15C - Example: Flags

HP HP-15C
224 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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]
|DIM|
I7JJ1
to
reserve registers
R0
through
R6
(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 |
ENTER]
h |
ENTER
|
.
Enter
the
complex
value
of
z0
=
XQ
by
pressing
x0
1
ENTER)
y0
BJ
E
iy0
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.lz.
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
20
-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.

Table of Contents

Other manuals for HP HP-15C

Related product manuals