EasyManua.ls Logo

HP HP-35 - Evaluation Algorithm

HP HP-35
49 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...
34
AN A LGOR
ITH
M
The
flow charI
shown
below allows
you
10 evaluate
an
y
e
~
pression
on
a calculator. like
your
HP·35,
Ihat
u<;es
an
operatIonal stack
and
LukasiewIcz
notation.
AlthoultJ
the
general
solution
requIres
an
operational
stack
of
un·
limitoo length,
the
lour
regIster stack in your HP-35
IS
adequate
lor
most practical problems. Belore using
the
al90rithm, Wfite your expression in serial
lorm
i.e ..
write
it as if it were to
be
sent over
the
teletype.
All e
xp
ressions
can
be
Wfinen in serial l
orm
.
For
e",~mple
:
2
3 +
1/2
beco
mes
2/13
+ 1/2).
nUT
U"'OU
.(R.O"M
....
"
TWO
/
...
,
~
..
* Y
ou
may omI t
this
step
if
you've
done
any
o
peratio
n
on
the
last
num
ber
en
t
erOO
.
One
numbe
r (Monadic)
ope
rations are thin
gs
like
fiiJ m
.etc
.
..
Two
number
(Diadic)
ope
ra
ll
ons
are things like D
CI
£I
1::1

Related product manuals