press {G

to start the equation. Press number and math keys to get numbers and symbols. Press Kbefore each letter. Press što end the equation.

If flag 10 is set, equations are displayed instead of being evaluated. This means you can display any message you enter as are equation. (Flags are discussed in detail in chapter 13.)

When the message is displayed, the program stops—.–press fto resume execution. If the displayed message is longer than 12 characters, the € and

žannunciators turn on when the message is displayed. You can then use 6and <to scroll the display. You can press {[SCRL] to turn off ž and make the top–row keys perform their normal functions.

If you don't want the program to stop, see "Displaying Information without Stopping" below.

Example: INPUT, VIEW, and Messages in a Program.

Write an equation to find the surface area and volume of a cylinder given its radius and height. Label the program C (for cylinder), and use the variables S (surface area), V (volume), R (radius), and H (height). Use these formulas:

V = πR2H

S = 2π R2 + 2π RH = 2π R ( R + H )

Keys: Display:Description:

zdz UŒŒ z“C zˆR zˆH



 !     "!   "! 

Program, entry; sets pointer to top of memory.

Labels program.

Labels program.

Instructions to prompt for radius and height.

{G{  MyKR  02 yKH

Calculates the volume.

Simple Programming 12–15

File name 32sii-Manual-E-0424

 

Printed Date : 2003/4/24

Size : 17.7 x 25.2 cm