beautypg.com

Examples of functions that use two arguments, Examples of functions that use two arguments ,8-6 – HP 50g Graphing Calculator User Manual

Page 263

background image

Page 8-6

TANH, ATANH

SIGN, MANT, XPON

IP, FP

FLOOR, CEIL

D R, R D

Examples of functions that use two arguments

The screen shots below show applications of the function % to list arguments.
Function % requires two arguments. The first two examples show cases in which
only one of the two arguments is a list.

The results are lists with the function % distributed according to the list
argument. For example,

%({10, 20, 30},1) = {%(10,1),%(20,1),%(30,1)},

while

%(5,{10,20,30}) = {%(5,10),%(5,20),%(5,30)}

In the following example, both arguments of function % are lists of the same
size. In this case, a term-by-term distribution of the arguments is performed, i.e.,