![Sharp el-9950 Manual Download Page 37](http://html.mh-extra.com/html/sharp/el-9950/el-9950_manual_366141037.webp)
36
Chapter 2: Operating the Graphing Calculator
8 lcm( lcm(
natural number, natural number
)
Returns the least common multiple of two integers.
Example
• Find the least common multiple of 12 and 18.
M
B
8
1 2
,
1 8
)
E
9 gcd( gcd
(natural number, natural number)
Returns the greatest common divisor of two integers.
Example
• Find the greatest common
divisor of 16 and 36.
M
B
9
1 6
,
3 6
)
E
C PROB
1random random
[(number of trial)]
Returns a random decimal number between 0 and 1 (uniform distributed).
Example
• Make a list with three random numbers.
Note:
Set the “FSE” to “Fix” and “TAB”
to “0”.
@
{
M
C
1
|
100
,
M
C
1
|
100
,
M
C
1
|
100
@
}
E
2 rndInt( rndInt(
minimum value, maximum value [, number of trial]
)
Returns a specified number of random integers, between a
minimum and a maximum value.
Example
• Produce eight random integers, ranging between values of 1 and 6.
M
C
2
1
,
6
,
3
)
E
* Minimum value: 0
≤
x
min
<
10
10
Maximum value: 0
≤
x
max
<
10
10
Number of trial: 1
≤
n
≤
999