Using hp 48s/sx programs with the hp 48g/gx – HP 48g Graphing Calculator User Manual
Page 426
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
programs contained in PLOTS each plot an example of a different plot
type. The remaining objects are example programs that accomplish a
variety of different tasks.
MEDIAN
Returns a vector containing the median values for
each column in the current statistics matrix.
FIBON
Using the contents of variable n, returns the n-1
Fibonacci number.
APLY
Applies a program to each element of an array. The
program applied must take exactly one input and
return exactly one output. If output is symbolic the
result is returned as a “symbolic array” (that is, a
list of “row” lists instead of an array of row vectors).
—>-RPN
Converts an algebraic object into a list of equivalent
RPN commands. Evaluating the resulting list
returns the original algebraic. Illustrates the
equivalency between algebraic and RPN procedures.
%TILE
Takes a list of data on level 2 and a percentile
number on level 1 and returns the value of the
percentile for the list. For example, typing
idfltalist '} 50 and pressing ’ ; T I L E returns the
median (50th percentile) of the list.
You may wish to work through these programs using single-stepping
(see page 29-8).
Using HP 48S/SX programs with the
HP 48G/GX
There are many programs distributed (both commercially and
otherwise) today that were originally written for the HP 48S and
HP 48SX, the predecessors of the HP 48G Series.
CBUtion
Before running a library developed for the HP 48S
Series calculators on your HP 48G Series calculator,
hack up the contents of your memory to an external
source (computer or plug-in card). Incompatibilities
between the library and the HP 48G Series calculator
may cause memory loss.
29-20 Programming the HP 48