Calculating The Mean From A Frequency Table