結果 : expected value of a function of a discrete random variable