# Erlang_1,k
This notebook computes the CDF of an Erlang_1,k distribution


```
from sympy import *
import mpmath as mp
%matplotlib inline
init_printing()
p, mu, t, k  = symbols('p, mu, t, k')

```


```
pdf = p * mu * exp(-mu*t)  + (1 - p)* (mu**k) * ((t**( k - 1))/ factorial(k-1)) *exp(-mu*t)
pdf
```


```
cdf = integrate(pdf,t)

```


```
cdf
```


```

```

ef55053a3913747b04965d90ff2504ec5012bbec
ipynb
Jupyter Notebook
probabilistic_programming/Erlang_1,k.ipynb
juliusf/ipython-notebooks
6aad8a92164927486dcd5f3054fb5b2ae9d5cc67
Apache-2.0
probabilistic_programming/Erlang_1,k.ipynb
juliusf/ipython-notebooks
6aad8a92164927486dcd5f3054fb5b2ae9d5cc67
Apache-2.0
probabilistic_programming/Erlang_1,k.ipynb
juliusf/ipython-notebooks
6aad8a92164927486dcd5f3054fb5b2ae9d5cc67
Apache-2.0
Qwen/Qwen-72B
1. YES
2. YES