Problem:

Find the expectation of $-4.5 x^2+1. x+0.7$ where $x \sim $ \text{PoissonDistribution}[1.6]

from sympy import *
from sympy.stats import *

x = Poisson('x', 1.6)
print(E(-4.5*x**2+1.*x+0.7))
