Changing Directories - HP -28S Manual

Advanced scientific calculator
Hide thumbs Also See for HP-28S:
Table of Contents

Advertisement

Program
:~.
.j
ROLLO
t·~
E)-n
m 1 ""LIST
""RRRY
I
ENTER
I
~
MEDIAN
I
STO
I
Comments
Move the median to the proper
stack level.
Increment j and repeat the loop.
Make the list {
m }.
Combine all the medians into an
m-element vector.
End the defining program.
Move the orginal
~DAT
to level
1.
Restore
~DAT
to its previous
value.
End the program.
Put the program on the stack.
Store the program as MEDIAN.
Example. Calculate the median of the data on page 268. (This exam-
ple assumes you've keyed in the data.) There are two columns of data,
so MEDIAN will return a two-element vector.
Calculate the median.
I
USER
i
MEDI
3:
2:
1:
[ 14.5 9.5 ]
amGImI!lIDlRmllDllll1m!I
The medians are 14.5 for the first column and 9.5 for the second
column.
Changing Directories
This section contains two programs:
• UP gives you a menu of parent directories.
• DOWN gives you a menu of subdirectories.
These programs have no utility for those who always remember their
entire directory structure and know exactly where they are at all
times. For those who occasionally become confused, these programs
are helpful.
28: Programming Examples
275

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents