Storing a Program

PRGM

Use the following procedure to specify the Edit Prog Mode and store a program in memory.

Edit Prog .............................................................................

F F F 1

Example: To create a program that uses Heron’s formula to calculate the area of a triangle based on the lengths of its three sides

Formula: S = s (s – A)(s – B)(s – C)

Note that: s = (A + B + C) /2.

1. Enter the Edit Prog Mode, which displays the screen shown below.

PRGM

Ed i t P r o g

P–1234 308

If there is already a program in memory, its number appears on the display.

Remaining capacity (bytes)

2.Select the program number (P1 to P4) to which you want to assign the program.

Ex.: 2(Program P2)

PRGM

000

Number of bytes used by program P2.

3. Input the program.

Program

?A: ?B: ?C: (A + B + C) 2D^D (D – A) (D – B) (D – C): Ans

To input a colon (:), press <.

To input “A”, press Aj q.

You can also input a variable name using the pkey. To input “X” for example, press px.

E-36