HP 50g User's Reference Manual
Download Advanced user's reference manual of HP 48gII Calculator for Free or View it Online on All-Guides.com.
Brand: HP
Category: Calculator
Type: Advanced user's reference manual
Model: HP 48gII , HP 49g+ , HP 50G
Pages: 693
RPL Programming Examples 2-13
Program: Comments:
m →ARRY
Combines all the medians into an m-element vector.
s STOΣ
Restores
Σ
DAT to its previous value.
»
Ends the defining procedure.
»
`O
MEDIAN K
Stores the program in MEDIAN.
Checksum: # 256d
Bytes: 140
Example: Calculate the median of the following data.
18 12
4 7
3 2
11 1
31 48
20 17
There are two columns of data, so MEDIAN will return a two-element vector.
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 Completely
This 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.