Question: Can't compute mean or variance of custom discrete random variable

Hi,

I'm trying to compute the mean and variance of a custom discrete random variable, as indicated in the file below (well, I do know its mean and variance, but I need the variable in a more complex context). Defining it is no problem at all, but when I parse Mean(Y) and Variance(Y), a weird expression shows up, despite my random variable being really simple. Does somebody know what goes wrong?

 

MapleProblem(1).mw

Please Wait...