# exponential_distribution 函数

以速率 lambda 发生的事件的等待时间。

## 怎么写

### exponential_distribution(lambda)

**lambda**

速率，大于 0。接受一个表达式。

## 示例

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

  `exponential_distribution(lambda)`[在求解器中打开](https://zh.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)))`

  在求解器中，`probability(x > 3, distributed(x, exponential_distribution(2)))` 的结果是 `1/e^6`。

  [在求解器中打开](https://zh.hilberon.com/?q=probability%28x%20%3E%203%2C%20distributed%28x%2C%20exponential_distribution%282%29%29%29)

## 示例中用到的函数

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

  带分布的变量满足某个条件的概率。
- [distributed](https://zh.hilberon.com/library/distributed)

  变量及其所服从的分布，供概率和期望读取。

## 相关函数

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

  n 次独立试验中成功的次数，每次试验成功的概率为 p。
- [weibull_distribution](https://zh.hilberon.com/library/weibull_distribution)

  一个单元存活到时间 x 的概率为 e^(-(x/scale)^shape) 时的寿命。
- [normal_distribution](https://zh.hilberon.com/library/normal_distribution)

  均值为 mu、标准差为 sigma 的正态分布。
- [uniform_distribution](https://zh.hilberon.com/library/uniform_distribution)

  在 a 与 b 之间任何位置等可能的连续分布。
- [stationary_distribution](https://zh.hilberon.com/library/stationary_distribution)

  过程随时间趋于的分布，若存在的话。
- [poisson_distribution](https://zh.hilberon.com/library/poisson_distribution)

  在一段时间内以平均速率 lambda 发生的事件的次数。

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