# \(\text{ExponentialCDF}\)¶

You can use the \(\text{ExponentialCDF}\) function to calculate the cumulative distribution function (CDF) of the exponential distribution.

You can use the `\exponentialc`

backslash command to insert this function.

The following variants of this function are available:

\(\text{real } \text{ExponentialCDF} \left ( \text{<x>}, \text{<}\lambda{>} \right )\)

Where \(x\) and \(\lambda\) are scalar values representing the value of
interest and the rate term respectively. Note that this function is defined
over the range \(\lambda > 0\) and \(x \geq 0\) will generate a runtime
error or return `NaN`

for values for which the function is not defined.

The value is calculated directly using the relation:

The exponential distribution, along with the geometric distribution, has the property that the probability of an event occuring over some interval is independent of the start time of that interval.

Where \(0 \leq t _ 0 \leq t _ 1\).

The exponential distribution is often used to model traffic from uncorrelated sources, such as arrival of cars at an intersection or customers into a queue. The exponential distribution is a special case of both the gamma distribution and the Erlang distribution.

The exponential distribution is also often used to model failure rate and is a special case of Weibull distribution.

Figure 128 shows the basic use of the \(\text{ExponentialCDF}\) function.