Functions and commands
293
5!
returns
120
Combination
The number of combinations (without regard to order) of
n
things taken
r
at a time.
COMB(n,r)
Example: Suppose you want to know how many ways five
things can be combined two at a time.
COMB(5,2)
returns
10.
Permutation
Number of permutations (with regard to order) of
n
things
taken
r
at a time.
PERM (n,r)
Example: Suppose you want to know how many permutations
there are for five things taken two at a time.
PERM(5,2)
returns
20.
Random
Number
Random number. With no argument, this function returns a
random number between zero and one. With one integer
argument
a
, it returns a random number between 0 and
a
.
With three integer arguments,
n
,
a
, and
b
, returns
n
random
number between
a
and
b
.
RANDOM
RANDOM(a)
RANDOM(n,a,b)
Integer
Random integer. With one integer argument
a
, it returns a
random integer between 0 and
a
. With three integer
arguments,
n
,
a
, and
b
, returns
n
random integers between
a
and
b
.
RANDINT(a)
RANDINT(n,a,b)
Normal
Random real number with normal distribution N(
,
).
RANDNORM(
,
)
Seed
Sets the seed value on which RAND() operates
.
By specifying
the same seed value on two or more calculators, you ensure
that the same random numbers appear on each calculator
when RAND() is executed.
RANDSEED(value)
Summary of Contents for NW280-200X
Page 1: ...HP Prime Graphing Calculator User Guide ...
Page 4: ......
Page 56: ...50 Reverse Polish Notation RPN ...
Page 64: ...58 Computer algebra system CAS ...
Page 107: ...An introduction to HP apps 101 ...
Page 108: ...102 An introduction to HP apps ...
Page 188: ...182 Spreadsheet these variables is provided in chapter 21 Variables beginning on page 373 ...
Page 220: ...214 Statistics 2Var app ...
Page 252: ...246 Linear Solver app ...
Page 258: ...252 Parametric app ...
Page 268: ...262 Sequence app ...
Page 404: ...398 Units and constants ...
Page 416: ...410 Lists ...
Page 442: ...436 Notes and Info ...
Page 532: ...526 Limiting functionality ...
Page 536: ...530 ...
Page 540: ...534 ...