20021201
Problem
Use this keyboard:
Operation
mth
abc
cat
2D
What is the sign of
Func
[signum]
-
3.4567
w
–3.4567?
–1
(signum returns –1 for a
negative value, 1 for a
positive value, “Undefined”
for 0, and
A
for an
A
imaginary number.)
What is the integer part of
CALC
Func
-
3.4567
w
–3.4567?
–3
What is the decimal part of
Func
[frac]
-
3.4567
w
–3.4567?
–0.4567
What is the greatest integer
Func
[intg]
-
3.4567
w
less than or equal to
–3.4567?
–4
What is –3.4567 rounded to
Func
[fRound]
-
3.4567
,
2
two decimal places? –3.46
w
What is –34567 rounded to
Func
[sRound]
-
34567
,
4
four significant digits?
w
*
–34570
* To round to 10 digits, specify “0” for the second argument.
k
Random Number Generator (rand, randList, RandSeed)
• The ClassPad random number generator can generate truly random numbers (non-
sequential random numbers) and random numbers that follow a particular pattern (sequen-
tial random numbers). Using the “randList” function, you can generate a list whose
elements contain random numbers. There are nine different patterns for generation of
sequential random numbers. Use the “RandSeed” command to switch between non-
sequential and sequential random number generation, and to select the sequential random
number generation pattern.
u
ClassPad Operation
(1) Use the “RandSeed” command to configure random number generation settings, if
required.
(2) Use the “rand” function or “randList” function to generate the random numbers.
2-4-6
Function Calculations
20030201