Numbers Entered in Program Lines

Before starting program entry, set the base mode. The current setting for the base mode determines the base of the numbers that are entered into program lines. The display of these numbers changes when you change the base mode.

Program line numbers always appear in base 10.

An annunciator tells you which base is the current setting. Compare the program lines below in the left and right columns. All non–decimal numbers are right–justified in the calculator's display. Notice how the number 13 appears as "D" in Hexadecimal mode.

Decimal mode set:Hexadecimal mode set:

 

:

 

:

 

:

 

:

PRGM

 

PRGM

HEX



%



%

PRGM

 

PRGM

HEX









 

:

 

:

 

:

 

:

Polynomial Expressions and Horner's Method

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

Ax4 + Bx3 + Cx2 + Dx + E

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

Example:

Write a program using ALG operations for 5x4 + 2x3, then evaluate it for x = 7.
Simple Programming 12–23