# BinomInv Script and chart function

`BinomInv()` returns the inverse of the accumulated probability of the Binomial distribution.

Syntax:

BinomInv(prob, trials, trial\_probability)

Return data type: number

Arguments

| Argument | Description |
| --- | --- |
| `prob` | A probability associated with the Binomial-probability distribution. It must be a number between 0 and 1. |
| `trials` | A positive integer that states the number of trials. |
| `trial_probability` | The success probability for each trial. It is always a number between 0 and 1. |

This function is related to the `BinomDist` function in the following way:   
`If prob = BinomDist(value, trials, trial_probability), then BinomInv(prob, trials, trial_probability) = value`