EasyManua.ls Logo

HP HP-32S - Nonprogrammable Functions; Polynomial Expressions and Horners Method

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...
You
willsee that all of the
application
programs
provided
in part 4
include
CHKSUM
values
with
each
labeled
routine
so that
you
can
verify
the
accuracy
of the
program
entry.
Nonprogrammable
Functions
The
following
functions
of the
HP-32S
are not
programmable:
•(CLEAR]
{PGM}
»GTO-inn
Bl
clear
I{ALL} HrGTolR
label
nn
(5
BfMEMl
H/
IB
Hi show i
PRGM
Polynomial
Expressions
and
Horner's
Method
Some expressions, such as polynomials, use the same variable several
times for their solution. For
example,
the expression
f(x)
=
Ax4
+
Bx3
+
Cx2
+ Dx + E
uses the variable x four different times. A program to solve such an
equation could repeatedly recall a stored copy of x from a variable. A
shorter programming method, however, would be to use a stack
which has been filled with the constant (see"Filling the StackWith a
Constant," on page 39 in chapter 2).
Horner's Method is a useful means of rearranging polynomialexpres
sions to cut calculation steps and calculation time. It is especially
expedient with
SOLVE
and /FN, two relatively complex operations
that
use
subroutines.
S:
Simple
Programming
87

Table of Contents

Related product manuals