Problem:

Find the expectation of $2.5 x^3+1.7 x^2-3.9 x-1.4$ where $x \sim $ \text{LaplaceDistribution}[0,1.2]

from sympy import *
from sympy.stats import *

x = Laplace('x', 0, 1.2)
print(E(2.5*x**3+1.7*x**2-3.9*x-1.4))
