1. 程式人生 > >算數-平均數、中位數和眾數平均數

算數-平均數、中位數和眾數平均數

平均數、中位數和眾數平均數

flyfish 2015-11-10 筆記

平均數(average,arithmetic mean):若干個數的平均數,是用這些數的和除以數的個數。

中位數(median):一列數按大小順序排列後,處於中間的那個數。如果這列數有奇數個,那麼中位數正好在數列的中間;如果這列數有偶數個,那麼中位數是中間兩個數的平均數。

眾數(mode):眾數是一列數中出現次數最多的那個數,可以不止一個。如果一列數中每個數出現的次數相同,則沒有眾數。

The average age of a certain group of 25 business managers is 40 years. If 5 additional managers are included in the group,then the average age of the 30 managers is 43 years. What is the average age of the 5 additional mangers?

(30*43-25*40)/5=58