Sharp EL-9900 User Manual

Page 56

Advertising
background image

46

Chapter 3: Basic Calculations — Basic Keyboard

0 remain

natural number remain natural number

Returns the remainder of a division.

Example

• Obtain the remainder when

123 is divided by 5.

1 2 3

M B 0 5

E

C

PROB

Use the PROB sub-menu items for probability calculations.

1 random

random

[(number of trial)]

Returns a random decimal number between 0 and 1.

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

Note:

The random functions (random, rndInt(, rndCoin, and rndDice)

will generate different numbers every time when the display is

redrawn. Therefore, the table values of the random functions will

be different every time. When in case of random-based graphing

calculations, the tracing values and other parameters of the graph

will not match the graph's visual representation.

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

Advertising