36
Chapter 2: Operating the Graphing Calculator
8 lcm( lcm(natural number, natural number)
Returnstheleastcommonmultipleoftwointegers.
Example
• Findtheleastcommonmultipleof12and18.
M
B
8
1 2
,
1 8
)
E
9 gcd( gcd(natural number, natural number)
Returnsthegreatestcommondivisoroftwointegers.
Example
•
Findthegreatestcommon
divisor of 16 and 36.
M
B
9
1 6
,
3 6
)
E
C PROB
1random random [(number of trial)]
Returnsarandomdecimalnumberbetween0and1(uniformdistributed).
Example
•
Make a list with three random numbers.
Note: Setthe“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])
Returnsaspeciednumberofrandomintegers,betweena
minimum and a maximum value.
Example
•
Produceeightrandomintegers,rangingbetweenvaluesof1and6.
M
C
2
1
,
6
,
3
)
E
* Minimum value: 0
≤
x
min
<
10
10
Maximum value: 0
≤
x
max
<
10
10
Numberoftrial: 1
≤
n
≤
999