RandGeometric Parameters

Top  Previous  Next

 

$p=RandGeometric(probability,number)

 

Generates number random geometric trials.  RandGeometric returns the number of attempts before a success where the probability of success on each attempt is probability.

 

For example, how many rolls of a die does it take to roll a 6?

 

You can simulate this problem thirty times using $p=RandGeometric(1/6,30) and you might generate the following data.

 

16, 3, 6, 9, 7, 10, 10, 3, 5, 11, 1, 9, 2, 6, 5, 7, 20, 21, 4, 2, 5, 5, 2, 10, 6, 2, 13, 1, 1, 10

 

A RandGeometric parameter is regeneratable. Every time you regenerate, you will be provided with a fresh set of data.

 

A RandGeometric parameter can be used for statistical calculations in the inline calculator.