# exponential_distribution function

The waiting time for events that come at rate lambda.

## How to write it

### exponential_distribution(lambda)

**lambda**

The rate, above 0. Takes an expression.

## Examples

- $\displaystyle \operatorname{exponential\_distribution}(\lambda)$

  `exponential_distribution(lambda)`[Open in the solver](https://hilberon.com/?q=exponential_distribution%28lambda%29)
- $\displaystyle P(x > 3),\ x \sim \mathrm{Exp}(2) = \frac{1}{e^{6}}$

  `probability(x > 3, distributed(x, exponential_distribution(2)))`

  In the solver, `probability(x > 3, distributed(x, exponential_distribution(2)))` gives `1/e^6`.

  [Open in the solver](https://hilberon.com/?q=probability%28x%20%3E%203%2C%20distributed%28x%2C%20exponential_distribution%282%29%29%29)

## Functions its examples use

- [probability](https://hilberon.com/library/probability)

  The probability that a condition holds for a variable with a distribution.
- [distributed](https://hilberon.com/library/distributed)

  A variable and the distribution it follows, as probability and expectation read it.

## Related functions

- [binomial_distribution](https://hilberon.com/library/binomial_distribution)

  The number of successes in n independent trials that each succeed with chance p.
- [weibull_distribution](https://hilberon.com/library/weibull_distribution)

  The lifetime of a unit whose chance of surviving to time x is e^(-(x/scale)^shape).
- [normal_distribution](https://hilberon.com/library/normal_distribution)

  The normal distribution with mean mu and standard deviation sigma.
- [uniform_distribution](https://hilberon.com/library/uniform_distribution)

  The continuous distribution that is equally likely anywhere between a and b.
- [stationary_distribution](https://hilberon.com/library/stationary_distribution)

  The law a process settles into over time, when it has one.
- [poisson_distribution](https://hilberon.com/library/poisson_distribution)

  The number of events in a period when they come at an average rate lambda.

---
Source: https://hilberon.com/library/exponential_distribution
