Inquisit Language Reference

# randbinomial function

Generates a random number representing the number of successes in a sequence of n yes/no experiments, each of which succeeds with probability p.

## Member of

<global>

## Syntax

randbinomial(n, p)
## Parameters

Name |
Type |
Description |

n |
integer |
The number of trials. |

p |
number |
The probability of a success. |

## Examples