Casio FX-9750GII-SC User Guide - Page 53
Random Number Generation RAND, Ran# Examples, Example, Operation
UPC - 079767186067
View all Casio FX-9750GII-SC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 53 highlights
I Random Number Generation (RAND) S Random Number Generation (0 to 1) (Ran#, RanList#) Ran# and RanList# generate 10 digit random numbers randomly or sequentially from 0 to 1. Ran# returns a single random number, while RanList# returns multiple random numbers in list form. The following shows the syntaxes of Ran# and RanList#. Ran# [a] 1a9 RanList# (n [,a]) 1 n 999 • n is the number of trials. RanList# generates the number of random numbers that corresponds to n and displays them on the ListAns screen. A value must be input for n. • "a" is the randomization sequence. Random numbers are returned if nothing is input for "a". Entering an integer of 1 through 9 for a will return the corresponding sequential random number. • Executing the function Ran# 0 initializes the sequences of both Ran# and RanList#. The sequence also is initialized when a sequential random number is generated with a different sequence of the previous execution using Ran# or RanList#, or when generating a random number. Ran# Examples Example Ran# (Generates a random number.) (Each press of U generates a new random number.) Ran# 1 (Generates the first random number in sequence 1.) Operation *(E)(PROB)*(RAND) (Ran#)U U U *(E)(PROB)*(RAND) (Ran#)1U (Generates the second random number in sequence 1.) Ran# 0 (Initializes the sequence.) U (Ran#)0U Ran# 1 (Generates the first random number in sequence 1.) (Ran#)1U * fx-7400GII: (PROB) 2-15