EasyManua.ls Logo

HP HP-28S - User Function for Polar Addition

HP HP-28S
341 pages
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...
Convert
to
rectangular
coordinates.
P~R
3:
(1.57~-1.32)
2:
(1.
6<:::,1.
18)
1:
(1.27,2.72)
DDlIIIJlI.:IBICIDIlIB_
Add
the
rectangular
coordinates.
[B
3:
(0.00,2.00)
2:
(1.57
-1.32)
1:
(2.89,3.89)
DDlIIIJlI.:IBICIDIlIB_
Convert
to
polar
coordinates.
R~P
3:
(0.00,2.00)
2:
(1.57,-1.32)
1:
(4.85,53.46)
DDlIIIJlI.:IBICIDIlIB_
The
resulting
distance
is 4.85 miles,
and
the
resulting
bearing
is
53.46°.
A
User
Function for Polar Addition
Here's
a
simple
program
PSUM
(polar sum) to
automate
the
process
you
did
manually
in
the
previous section.
Begin
the
program.
OD
2:
(1.57,-1.32)
1:
(4.85,53.46)
«I
DDlIIIJlI.:IBICIDIlIB_
Indicate
the
arguments.
(Use a
space
to
separate
the
two
arguments.)
G [1gJ x I SPACE I y
2:
( 1.
57,
-
1.
32)
1:
(4.85,53.46)
«
~
x
yl
DDlIIIJlI.:IBICIDIlIB_
The
right
arrow
indicates
that
the
following
names
are
local
variables,
which
will exist
only
within
this
program.
86
6:
Complex-Number
Functions

Table of Contents

Other manuals for HP HP-28S

Related product manuals