EasyManua.ls Logo

Sharp PYTHAGORUS - Page 81

Sharp PYTHAGORUS
92 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...
73 | Page
09;
“A” , DSP “GREAT CIRCLE”
continued
GREAT CIRCLE followed
by a pause and then an
Automatic execution of
the rest of the code until
a HLT, END or another
DSP command is read.
10;
(ACS (SIN A * SIN C + COS A * COS C *
COS (D B))) * 60 => I
The distance calculation
given the departure and
destination latitudes and
longitudes.
The distance is stored in
memory I.
11;
DSP “DISTANCE =”
The command DSP is
used to displace the
output message that the
next number will be the
distance between the
two points.
12;
INT (I) => I , I => HLT, PRT I
INT is the integer
command. That is, select
only the integer portion
of the result and store it
in memory I, which
replaces the integer/
decimal value with the
integer value only. This
is a choice in this
program but may differ
for another program.
I=>HLT stops the
program at this point to
display the answer.

Related product manuals