Examples Of Card Programs - Wang 300 Series Instruction Manual

Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Section 4
Program Operution
4.5
EXAMPLES OF CARD PROGRAMS
The
Pythagorean
Law
states
that c2=
a2 +
b'.
or
c
=
vG
+
b'?.
The following
program
uses
this equation
to
find
the value
of "c".
Note that
just the
calculations
are
pro-
grammed,
and the
variables
are
manually
keyed-in where
necessary.
This
approach
en-
ables the user to use the
same
program regard-
less
of
the variables.
CATCUI.ATOR PROGRAM
PRO6RAM
R
0
*7cO
r2c3
É1,,-
-
!,È
El
E*t: E
-*-
E
E*- I
U-I
El
El-D
D
a-ll tl
-"-
E
ll--
a
L_-,,- -
n.,rl
Ll
I"-
if
l-n
n
-,.-
E
-"-
-
E-n
É
-,.8 n
-"-
-
tI --E
E
E,,E
É *..É
I E-E
E --=
rl] l!l-
L-.1
=
I-I
E I-E
L
i ! ld! l
I l^tl
- -.8
I l,,l
- -.-
n n-i
n -,.-
-
---.
-
- r-,.-
rf -,.f
- ---
fr-- a n a.,a
-aaD--
L 1r Ll*l
l
a.,z
a_--E
a,,a
É.!fr§
ö..n
Ë.,É (*3\
-.,E
"'...É
ÉËË,È
É..Ë
Ë
ri
il.tr
Ö-Ë Ë --
§,.
---
f n n-E
\ 3,1
L
Ll
L,,Ll
--a I - fl-n
l-i
f E tl-
E
i-ri
i n t]-E
--a - - E"E
L,"-
- -
E-E
-',-
a - -- tl
r ,.- a a i--|-
',;- t-'-.?-
1.
Depress
CLEAR
ALL
2.
lndex
value
"a"
3.
Press
START
4.
lndex
value
"b"
5-
PÍess
CONTINUE
6.
Record
answer
Code
Listing for
Program
Conr,
4-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

310320320kr360360kt360kr ... Show all

Table of Contents