Function Geometric(ProbabilityOfSuccess)

# Geometric

The function Geometric draws a random value from a geometric distribution.

Geometric(
ProbabilityOfSuccess    ! (input) numerical expression
)


## Arguments

ProbabilityOfSuccess

A scalar numerical expression in the range $$(0,1)$$.

## Return Value

The function Geometric returns a random value drawn from a geometric distribution with a probability of success ProbabilityOfSuccess.

The Geometric distribution is discussed in full detail in Discrete Distributions of the Language Reference.