EasyManuals Logo
Home>HP>Calculator>HP-11C

HP HP-11C User Manual

HP HP-11C
264 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
Page #215 background imageLoading...
Page #215 background image
Section
11:
Programming
Techniques
213
In
the
Triangle
Solutions
program
we
have
three
inputs
for
each
of
the
following
five
cases:
SSS,
ASA,
SAA,
SAS,
and
SSA.
It is
clear
that
we
need
five
similar
but
definitely
different
sequences
to
input
the
data.
In
this
case,
since
the
HP-11C
has
five
user-definable
keys
each
key
may
be
given
the
function
of
inputting
the
three
variables
in
a
particular
case.
There
are
several
methods
of
loading
the
variables
via
the
user
keys.
One
would
be
to
store
the
three
knowns
in
their
appropriate
registers
by
hand
(e.g.,
S,
1,
A
2, etc.),
then
select
the
appropriate
routine
via
the user
keys
to
solve
the
particular
case.
Although
this
is
a
satisfactory
method
when
dealing
with
a
few
variables
or
when
there
is
not
enough
space
for
an
input
routine,
it
is
tedious
and
does
not
take
advantage
of
the
time
and
effort-
saving
features
of
the
HP-11C.
Another,
more
common
method
is
the
“stop-and-store”’.
What
is
done
is
to select
the
user
key
corresponding
to
the
case
at
hand.
The
program
immediately
halts
waiting
for
you
to
key
in
the
first
variable.
You
do
so
and
press
to
resume
program
execution.
The
program
stores
the
data
in
the
appropriate
register
and
halts
awaiting
the
next
input.
This
process
repeats
until
all
of
the
variables
have
been
keyed
in.
More
sophisticated
versions
of
stop-
and-store
include
input
loops
that
prompt
you
for
the
input
variables,
and
even
allow
you
to
review
and
modify
them
(see
A
in
The
Systems
of
Linear
Equations
with
Three
Unknowns
program).
The
method
we
have
chosen
in
the
Triangle
Solutions
program
is
to
load
the
stack
with
our
input
values
(we
only
have
three)
and
select
the
appropriate
user
key.
The
first
function
of
each
user
key
is
to
store
the
three
inputs
in
appropriate
registers
via
the
sequence
Ry,
(R¥],
Rp,
(R¥],
Rc.
This
method,
though
limited
to
programs
requiring
few
inputs,
is
quick
and
easy,
and
does
not
require
many
program
steps.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP HP-11C and is the answer not in the manual?

HP HP-11C Specifications

General IconGeneral
BrandHP
ModelHP-11C
CategoryCalculator
LanguageEnglish

Related product manuals