Calculate Mean Of Discrete Random Variable