Problem:

Find the expectation of $0.3 x^2+0.6 x+2.4$ where $x \sim $ \text{LaplaceDistribution}[0,1.8]

from sympy import *
from sympy.stats import *

x = Laplace('x', 0, 1.8)
print(E(0.3*x**2+0.6*x+2.4))
