Sharp EL-9900 Calculator User Manual


 
47
Chapter 3: Basic Calculations — Basic Keyboard
3 rndCoin rndCoin
[(number of trial)]
Returns a specified number of random integers to simulate a coin
flip: 0 (head) or 1 (tail). The size of the list (i.e., how many times
the virtual coin is thrown) can be specified. (The same as rndInt
(0, 1, number of times))
Example
Make the calculator flip a
virtual coin 4 times.
M C 3 ( 4
) E
4 rndDice rndDice
[(number of trial)]
Returns specified number of random integers (1 to 6) to simulate
rolling dice. The size of the list (i.e., how many times the die is
thrown) can be specified. (The same as rndInt (1, 6, number of
times))
Example
Make the calculator roll a virtual die 11 times.
M C 4 ( 11 ) E
5 nPr Returns the total number of different arrangements (permuta-
tions) for selecting “r” items out of “n” items.
n
P
r
=
n!
(n r)!
Example
•How many ways can 6
persons be seated in a car
with 4 seats?
6 M C 5 4 E