Best Answer

RAND: Rand uses a multiplicative congruential random number generator with period232 to return successive pseudo-random numbers in the range 0 to RAND_MAX.

Return Value: Rand returns the generated pseudo-random number. RANDOM(): Random returns a random number between 0 and (num-1).random(num) is a macro defined in STDLIB.H.

RANDOMIZE(): Randomize initializes the random number generator with a random value. Because randomize is implemented as a macro that calls the time function prototyped in TIME.H, you should include TIME.H when you use this routine

SRAND(): The random number generator is reinitialized by calling srand with an argument value of 1.The generator can be set to a new starting point by calling srand with a given seed number.

Study guides

☆

Q: What is the difference between the functions rand random srand and randomize?

Write your answer...

Submit

Still have questions?

Continue Learning about Math & Arithmetic

Simple!

A random process is a sequence of random variables defined over a period of time.

"randomn" is not a real word.

Welll...... when you jump... you leave the ground... when you walk.... you dont.... unless your klumsy.... or if youre jump walking....

A random variable is a variable which can take different values and the values that it takes depends on some probability distribution rather than a deterministic rule. A random process is a process which can be in a number of different states and the transition from one state to another is random.

Related questions

randomize() 'goes before random function random() 'generates random number from 0 to 1

a

Simple!

If you have a list of words and would like to randomize them, you can use Microsoft's spreadsheet program, Excel. The formula =rand() can be used to take your original list of words and replicate them in random order.

Bias is systematic error. Random error is not.

A random process is a sequence of random variables defined over a period of time.

PLUS has two extra New functions.... Random integer New Equation mode

You would use -ize, I think (-ise if you're British). Randomize/Randomise.

You can use this function: Function Random(ByVal Lowerbound As Long, ByVal Upperbound As Long) Randomize() Random = Int(Rnd * Upperbound) + Lowerbound End Function And use it by using: whatever.Text = Random(1, 1000) This example gives a number between 1 and 1000.

Tatti meal

"randomn" is not a real word.

Random variables is a function that can produce outcomes with different probability and random variates is the particular outcome of a random variable.

People also asked