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

HP HP-15C User Manual

HP HP-15C
288 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 #239 background imageLoading...
Page #239 background image
Appendix D: A Detailed Look at _ 239
Counting Iterations
While searching for a root, _ typically samples your function at least
a dozen times. Occasionally, _ may need to sample it one hundred
times or more. (However, _ will always stop by itself.) Because your
function subroutine is executed once for each estimate that is tried, it can
count and limit the number of iterations. An easy way to do this is with an
I instruction to accumulate the number of iterations in the Index
register (or other storage register).
If you store an appropriate number in the register before using _, your
subroutine can interrupt the _ algorithm when the limit is exceeded.
Specifying a Tolerance
You can shorten the time required to find a root by specifying a tolerable
inaccuracy for your function. Your subroutine should return a function
value of zero if the calculated function value is less than the specified
tolerance. This tolerance that you specify should correspond to a value that
is negligible for practical purposes or should correspond to the accuracy of
the computation. This technique eliminates the time required to define the
estimate more accurately than is justify by the problem. The example on
page 224 uses this method.)
For Advanced Information
In the HP-15C Advanced Functions Handbook, additional, advanced
techniques and applications for using _ are presented. These topics
include:
ï‚— Using _ with polynomials.
ï‚— Solving a system of equations.
ï‚— Finding local extremes of a function.
ï‚— Using _ for financial problems.
ï‚— Using _ in Complex mode.
ï‚— Solving an equation for its complex roots.

Table of Contents

Other manuals for HP HP-15C

Questions and Answers:

Question and Answer IconNeed help?

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

HP HP-15C Specifications

General IconGeneral
BrandHP
ModelHP-15C
CategoryCalculator
LanguageEnglish

Related product manuals