EasyManua.ls Logo

HP HP-32S - Examples Using SOLVE

HP HP-32S
312 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...
3.
Enter
the
instructions
to
evaluate
the
function.
Use
a RCL
in
struction any
place
a
variable's
value
is neededfor a
calculation.
4. End the program with a
RTN.
The program shouldend with the
value of
the
function in
the
X-register.
Each time that
SOLVE
executes your program (which could be many
times),
the
value
of the unknown
variable
changes,
as does the
value
your
program
produces.
When
your
program
returns a
zero,
then a
solution
has
been
found
for
the
unknown
variable.
Examples
Using
SOLVE
Example: Solving for
the
Dimensions
of
a Box. Use the following
program to evaluate the dimensions of a box
(L
x Wx H
V).
Note
that the program uses
recall
arithmetic,
whichtakesless
memory
than
recalling a variable and doing arithmetic as separate operations.
B81
LBL
B
B02
INPUT
L
B83
INPUT
W
B04
INPUT
H
B05
INPUT
y
B06
RCL
L
B07
RCL*
W
B08
RCLx
H
B09
RCL-
V
B10
RTN
First enter the program labeled
B:
Keys:
Display:
Description:
HI prgm I Starts program entry.
(IfGTQl
QQ
PRGM
TOP
Goes to the top of
memory (if necessary).
7:
Solving
for
an
Unknown
Variable
in
an
Equation
113

Table of Contents

Related product manuals