Simple
Programming
12–1
File name 33s-English-Manual-040130-Publication(Edition 2).doc Page : 388
Printed Date : 2004/1/30 Size : 13.7 x 21.2 cm
12
Simple Programming
Part 1 of this manual introduced you to functions and operations that you can use
manually
, that is, by pressing a key for each individual operation. And you saw
how you can use equations to repeat calculations without doing all of the
keystrokes each time.
In part 2, you'll learn how you can use
programs
for repetitive calculations —
calculations that may involve more input or output control or more intricate logic. A
program lets you repeat operations and calculations in the precise manner you
want.
In this chapter you will learn how to program a series of operations. In the next
chapter, "Programming Techniques," you will learn about subroutines and
conditional instructions.
Example:
A Simple Program.
To find the area of a circle with a radius of 5, you would use the
formula
A
=
π
r
2
and press
RPN mode:
5
=
º
j
¸
ALG mode:
5
=
¸
º
j
Ï
to get the result for this circle, 78.5398.
But what if you wanted to find the
area
of many different circles
?
Rather than repeat the given keystrokes each time (varying only the "5" for the
different radii), you can put the repeatable keystrokes into a program:
Содержание 33S
Страница 1: ... HP 33s scientific calculator user s manual H HP Part number F2216A 90020 Printed in China Edition 2 ...
Страница 14: ......
Страница 15: ...Part 1 Basic Operation ...
Страница 16: ......
Страница 56: ......
Страница 64: ......
Страница 82: ......
Страница 92: ......
Страница 122: ......
Страница 137: ...Operations with Complex Numbers 9 7 c Ù Adds L1 L2 L3 Converts vector back to polar form displays r θ ...
Страница 138: ......
Страница 157: ...Part 2 Programming ...
Страница 158: ......
Страница 184: ......
Страница 210: ......
Страница 222: ......
Страница 255: ...Mathematics Programs 15 33 y y x x m n New coordinate system Old coordinate system 0 0 x P u y v θ ...
Страница 293: ...Part 3 Appendixes and Reference ...
Страница 294: ......
Страница 324: ......
Страница 348: ......