Polynomial expressions and horner's method – HP 35s Scientific Calculator User Manual

Page 208

Advertising
background image

13-26

Simple Programming

Polynomial Expressions and Horner's Method

Some expressions, such as polynomials, use the same variable several times for their
solution. For example, the expression

Ax

4

+ Bx

3

+ Cx

2

+ Dx + E

uses the variable x four different times. A program to calculate such an expression
using RPN operations could repeatedly recall a stored copy of x from a variable.

Example:

Write a program using RPN operations for 5x

4

+ 2x

3

, then evaluate it for x = 7.

Advertising