48
CHAPTER
3 Using the
"Function
Memory"
Messages can also be added
by
enclosing them in quotation marks
("
")
immedi-
ately after the variables. This will be convenient since the message will be dis-
played at time
of
input and it will be possible to tell at a glance what value
is
being input.
Example:
Complete the following table. (Calculate in two decimal places
by
rounding off.)
Radius
(r)
Height
(h)
1.205
2.227
2.174 3.451
3.357 7.463
Operation:
~~[[)[g)~
Volume
of
a cylinder Volume
of
a cone
(U = "
r'h)
(V =
l/3U)
Cill§§J
e:,
©wwCIJlliJCQJw [[)§§1e:,EJ§§J61Il[[)§§J
e:,
[[)[K]CQJCIJCill
CID§§J
e:,
§§16 2
IIlOO§§JC:iOOwCIJ@OOrn§§JC:i§§J600§§JC:i©~lliJW§§JC:iEICill0~§§16~
§9
(Calculation starts.)
F.:ADIUS
·..:
1.
205
~
HEIGHi
·~:
2.
22
7~
FADIUS
·~=
If
the values
of
radius (r) and height (h) are input in this manner, volume (U)
of
the cylinder and volume (V)
of
the cone will be calculated successively and the
table will
be
completed
as
shown below.
Radius (r)
Height
(h)
Volume
of
a cylinder
Volume
'f£
a cone
(U =
"r'hJ
(V =
l3U)
1.205
2.227
10.16 3.39
2.174 3.451
51.24
17.08
3.357
7.4
63
264
.
22
88
.
07