Problem:

Find the expectation of $-4.5 x^2+3.6 x-0.8$ where $x \sim $ \text{PoissonDistribution}[1.5]

from sympy import *
from sympy.stats import *

x = Poisson('x', 1.5)
print(E(-4.5*x**2+3.6*x-0.8))
