beautypg.com

Nonprogrammable functions, Problems – HP 15c User Manual

Page 80

background image

80

Section 6: Programming Basics

Example: Write a program for 5x

4

+ 2x

3

as (((5x + 2)x)x)x, then evaluate

for x = 7

Keystrokes

Display

| ¥

000-

Assumes position in memory
is line 000. If it is not, clear
program memory.

´ b B

001-42,21,12

5

002- 5

*

003- 20

5x.

2

004- 2

+

005- 40

5x + 2.

*

006- 20

(5x + 2)x.

*

007- 20

(5x + 2)x

2

.

*

008- 20

(5x + 2)x

3

.

| n

009- 43 32

| ¥

Returns to Run mode, Prior

result remains in display.

7 v v
v

7.0000

Loads the stack (X-, Y-, Z-,

and T-registers) with 7.

´ B

12,691.0000

Nonprogrammable Functions

When the calculator is in Program mode, almost every function on the
keyboard can be recorded as an instruction in program memory. The
following functions cannot be stored as instructions in program memory.

´ CLEAR u

| ‚

Â

´ CLEAR M

| W

´ %

| ¥

=/.

´ U

t “ nnn

=/-