Example:
Random Integer (RanInt#)
For input of the function of the form RanInt#(
a
,
b
), which generates a
random integer within the range of
a
to
b
.
To generate random integers in the range of 1 to 6
(RanInt) 1
(,) 6
2
6
1
(Results shown here are for illustrative purposes only. Actual results will
differ.)
Permutation (
n
P
r
) and Combination
(
n
C
r
)
Example:
To determine the number of permutations and combinations
possible when selecting four people from a group of 10.
Permutations: 10
(
n
P
r
) 4
5040
Combinations: 10
(
n
C
r
) 4
210
Rounding Function (Rnd)
The argument of this function is made a decimal value and then rounded
in accordance with the current number of display digits setting (Norm, Fix,
or Sci).
With Norm 1 or Norm 2, the argument is rounded off to 10 digits.
With Fix and Sci, the argument is rounded off to the specified digit.
When Fix 3 is the display digits setting, for example, the result of 10 ÷ 3 is
displayed as 3.333, while the calculator maintains a value of
3.33333333333333 (15 digits) internally for calculation.
In the case of Rnd(10÷3) = 3.333 (with Fix 3), both the displayed value
and the calculator’s internal value become 3.333.
Because of this a series of calculations will produce different results
depending on whether Rnd is used (Rnd(10÷3) × 3 = 9.999) or not used
(10 ÷ 3 × 3 = 10.000).
35