HP -15C Owner's Handbook Manual page 182

Hide thumbs Also See for HP-15C:
Table of Contents

Advertisement

182
Section 13: Finding the Roots of an Equation
Keystrokes
´ b 0
3
-
*
1
0
-
| n
In Run mode, key two initial estimates into the X- and Y-registers.
Try estimates of 0 and 10 to look for a positive root.
Keystrokes
| ¥
0 v
10
You can now find the desired root by pressing ´_ 0. When you do
this, the calculator will not display the answer right away. The HP-15C uses
an iterative algorithm
function by sampling it many times, perhaps a dozen times or more. It does
this by repeatedly executing your subroutine. Finding a root will usually
require about 2 to 10 seconds; but sometimes the process will require even
more time.
Press ´_ 0 and sit back while your HP-15C exhibits one of its
powerful capabilities. The display flashes running while _ is
operating.
Press ´• 4 to obtain the displays shown here. The display setting does not influence the operation
*
of _.
An algorithm is a step-by-step procedure for solving a mathematical problem. An iterative algorithm is one
containing a portion that is executed a number of times in the process of solving the problem.
Display
001–42,21, 0
002–
003–
004–
005–
006–
007–
008–
43 32
*
Display
0.0000
10
to estimate the root. The algorithm analyzes your
Begin with b instruction.
Subroutine assumes stack
loaded with x.
3
30
Calculate x – 3.
20
Calculate (x – 3)x.
1
0
30
Calculate (x – 3)x – 10.
Run mode.
Initial estimates.

Advertisement

Table of Contents
loading

Table of Contents