```python
from sympy import *
from sympy.stats import *
from functools import *
import math as m
```


```python
def fatorial(n):
    return reduce(lambda n1,n2: n1 * n2, range(1, n + 1)) if n > 0 else 1
    

def euler(n):
    return 2.71828**n

def poisson(l, x):
    return ((euler(-l))*(l**x))/fatorial(x)
```


```python
1 - poisson(3, 0) - poisson(3, 1) - poisson(3, 2)
```




    0.5768090648924199




```python
X = Poisson("X", 10)
P(Eq(X, 1))
```




$\displaystyle \frac{10}{e^{10}}$



ipynb
f4fb8842ee98370ee340ae2ba2299014812c3011
Jupyter Notebook
b171fc8f6f29b8dcec80051ac1ce86edd34e0e57
MIT
GrrriiiM/estudos-python
probabilidade_poisson.ipynb
b171fc8f6f29b8dcec80051ac1ce86edd34e0e57
MIT
GrrriiiM/estudos-python
probabilidade_poisson.ipynb
b171fc8f6f29b8dcec80051ac1ce86edd34e0e57
MIT
GrrriiiM/estudos-python
probabilidade_poisson.ipynb