結果 : define distribution function of a discrete random variable