Further Applications; Problems - HP -34C Owner's Handbook Manual

Table of Contents

Advertisement

82
Simple Programming
Did you notice something different? In addition to reducing the size of
the program, using Horner's method reduced execution time as well.
Further Applications
As you have seen, the stack fill technique provides a simple and useful
approach to evaluating an expression containing several occurrences of
the same variable. By applying Horner's method to the problem, where
possible, we realize greater space savings and speed. Later, when we
discuss root-finding and numerical integration, you will see how the
automatic stack fill designed into the (soLveland
operations enhances
the power and convenience of your HP-34C's programming and
problem-solving capability.
Problems
Using the stack fill technique and Horner's method, write and execute
programs for evaluating the following expressions at x values of
1.5, 3.73, and -4.25.
I.
2x5 —x*+2x2+x + 1
2. 0.97 Sin®x + 0.04 Sin*'x — 1.73 Sinx — 1
Answers:
1.
17.1250, 1,283.0102, -3,066.5371.
2.
-1.0452, -1.1121, -0.8720.

Advertisement

Table of Contents
loading

Table of Contents