Program: | Comments: |
|
|
m →ARRY | Combines all the medians into an |
s STOΣ | Restores ΣDAT to its previous value. |
» | Ends the defining procedure. |
» |
|
|
|
`OMEDIAN K | Stores the program in MEDIAN. |
| |
|
|
Checksum: # 256d
Bytes: 140
Example: Calculate the median of the following data.
1812
4 7
3 2
111
3148
2017
There are two columns of data, so MEDIAN will return a
Enter the matrix.
‚Ù%OK% %EDIT%
18`12 `˜šš
4 `7 `
3 `2 `
11`1 `
31`48 `
20`17 `
`%OK%
The matrix is now stored in ΣDAT.
Calculate the median.
J%MEDIA%
Clear approximate mode (set exact mode) before going on to the next example.
Expanding and Collecting CompletelyThis section contains two programs:
MULTI repeats a program until the program has no effect on its argument.
EXCO calls MULTI to completely expand and collect an algebraic.
RPL Programming Examples