Question: How to write this in Maple notation?

I want to compute expected utilities, i.e. I have a random variable and a utility function, e.g.






and now I want to compute the expected utility, i.e.:

Int(u(x)*f(x), x = -infinity .. infinity)

where u(x) is the utility function and f(x) is the density of the random variable. Domain is from -infinity to infinity.

How may I compute this by using the 'ExpectedValue' command?

Please Wait...