結果 : expected value of function of discrete random variable