Tool to calculate the different means of a number list. The mathematic mean of a list of numbers is one of the statistical representations that can illustrate the distribution of the numbers in the list.

Mean of Numbers - dCode

Tag(s) : Mathematics, Data processing

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!

You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? *Contact-me*!

Sponsored ads

Tool to calculate the different means of a number list. The mathematic mean of a list of numbers is one of the statistical representations that can illustrate the distribution of the numbers in the list.

Consider a list of \( n \) values \( X = \{x_1, x_2, \dots, x_n \} \). The arithmetic mean is defined by the sum of the values divided by the number of values \( n \). $$ \bar{x} = {1 \over n} \ sum_{i=1}^n{x_i} $$

Example: The list of 4 numbers 12, 14, 18, 13 its average value is (12+14+18+13)/4=14.25

When values are associaed with coefficients, then use the weighted arithmetic mean.

Consider a list of \( n \) values \( X = \{x_1, x_2, \dots, x_n \} \). The geometric mean is defined by the \( n \)th root of the product of values. $$ \bar{x}_{geom} = \sqrt[n]{\prod_{i=1}^n{x_i}} $$

The geometric mean is often used to calculate an average interest rate.

Example: The list of 3 values 1, 1.5, 2 has for geometric mean \( sqrt[3]{ 1 \times 1.5 \times 2 } \approx 1.4422 \)

Consider a list of n values \( X = \{x_1, x_2, \dots, x_n \} \). The harmonic mean is defined by the ratio of n to the sum of the inverse of the values. $$ \bar{x}_{harm} = \frac{n}{\sum_{i=1}^n \frac{1}{x_i}} $$

The harmonic mean is often used to compute a speed average.

Example: The list of speed values 50 and 100 has for harmonic mean \( 2/(1/50+1/100) = 66.67 \)

Consider a list of n values \( X = \{x_1, x_2, \dots, x_n \} \). The root mean square (or quadratic mean) is defined by the root of the sum of each value squared, divided by root of n: $$ \bar{x}_{quad} = \sqrt{\frac{1}{n}\sum_{i=1}^n{x_i^2}} $$

The RMS is used in electricity to calculate the effective value.

Example: The list of 3 values 4,5 and 6 has for RMS \( \sqrt{\frac{4^2+5^2+6^2}{3}} = \approx 5.06 \)

dCode retains ownership of the source code of the script Mean of Numbers online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the online Mean of Numbers script for offline use, for you, your company or association, see you on contact page !

moyenne,nombre,chiffre,arithmetic,harmonic,geometric,proportional,quadratic,weighted,list

Source : https://www.dcode.fr/mean

© 2018 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode