Problem:

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

from sympy import *
from sympy.stats import *

x = Laplace('x', 0, 1.8)
print(E(-0.7*x**2+0.3*x-0.7))
