Problem:

Find the expectation of $3. x^2+1.7 x+1.1$ where $x \sim $ \text{NormalDistribution}[0.7,1.2]

from sympy import *
from sympy.stats import *

x = Normal('x', 0.7, 1.2)
print(E(3.*x**2+1.7*x+1.1))
