# Probability Expressions

Operations

#### Random

###### Description:

The Random operation creates a Result by taking a random number between Input 1 (as a lower bound) and Input 2 (as an upper bound).

[Input 1] < Result < [Input 2]

• Data Point
• Literal
• Variable
• Stack

• Decimal
• Double
• Int16
• Int32
• Int64

• Data Point
• Literal
• Variable
• Stack

• Decimal
• Double
• Int16
• Int32
• Int64

• Data Point
• Variable
• Stack

• Double

#### Factorial

###### Description:

The Factorial operation creates a Result by evaluating the factorial of Input 1.

[Input 1]! = Result

• Data Point
• Literal
• Variable
• Stack

• Decimal
• Double
• Int16
• Int32
• Int64

• Data Point
• Variable
• Stack

• Double

#### NumberPossibilities

###### Description:

The NumberPossibilities operation creates a Result by computing the k-permutations of n, where n is indicated by Input 1 and k is indicated by Input 2. The k-permutations of n is all arrangements (or orderings) of length k taken from a set of length n.

P( [Input 1] , [Input 2] ) = Result

• Data Point
• Literal
• Variable
• Stack

• Decimal
• Double
• Int16
• Int32
• Int64

• Data Point
• Literal
• Variable
• Stack

• Decimal
• Double
• Int16
• Int32
• Int64

• Data Point
• Variable
• Stack

• Double

#### NumberCombinations

###### Description:

The NumberCombinations operation creates a Result by computing the k-combinations of n, where n is indicated by Input 1 and k is indicated by Input 2. The k-combinations of n is the number of ways to select k items from n total items, where the order of selection does not matter. This operation is generally read as "n choose k."

C( [Input 1] , [Input 2] ) = Result

• Data Point
• Literal
• Variable
• Stack

• Decimal
• Double
• Int16
• Int32
• Int64

• Data Point
• Literal
• Variable
• Stack

• Decimal
• Double
• Int16
• Int32
• Int64

• Data Point
• Variable
• Stack

• Double