Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

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

  • exponential_distribution⁡(λ)\displaystyle \operatorname{exponential\_distribution}(\lambda)
    exponential_distribution(lambda)Open in the solver
  • P(x>3), x∼Exp(2)=1e6\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

Functions its examples use

  • probability

    The probability that a condition holds for a variable with a distribution.

  • distributed

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