Difference between revisions of "Manuals/calci/GEOMEAN"

From ZCubes Wiki
Jump to navigation Jump to search
Line 43: Line 43:
 
==References==
 
==References==
 
*[http://en.wikipedia.org/wiki/Geometric_mean| Geometric Mean]
 
*[http://en.wikipedia.org/wiki/Geometric_mean| Geometric Mean]
 +
 +
 +
 +
[[Z_API_Functions | List of Main Z Functions]]
 +
 +
[[ Z3 |  Z3 home ]]

Revision as of 05:18, 9 March 2017

GEOMEAN(n1,n2,…)


  • are the positive real numbers.

Description

  • This function gives the Geometric Mean of an array or references.
  • For example, it is used to calculate average rate of growth of human population.
  • The Geometric Mean of two numbers is, the square root of their product.
  • The Geometric Mean of the three numbers is, the cube root of their product.
  • So the geometric mean of numbers is defined as the root of the product of the numbers.
  • In , are the positive real numbers and is required. are optional.
  • The arguments can be numbers,names,arrays or references that contain numbers.
  • Also we can directly use logical values and text representations of numbers.
  • The values are ignored, when the argument contains logical values or empty cells.
  • The Geometric and Arithmetic Means are equal, when all the numbers in the given set are equal, otherwise the Geometric Mean of a data set is less than the data set's Arithmetic Mean.
  • The geometric mean of a data set is given by:

  • This function will give the result as error when
1.Any one of the argument is non-numeric
2.Any one 
3.Any one of the references cannot be translated in to numbers.

ZOS

  • The syntax is to calculate GEOMEAN in ZOS is .
    • are the positive real numbers.
  • For e.g.,geomean(1,2,3,4,5),geomean(11.5..20.5..0.5)
Geometric Mean

Examples

  1. =GEOMEAN(3,27) = 9
  2. =GEOMEAN(2,4,8) = 3.9999999999999996
  3. =GEOMEAN(3,5,8,10,12) = 6.786916380543178
  4. =GEOMEAN(-2,32) = #ERROR, because the value is < 0.

Related Videos

Geometric Mean

See Also

References


List of Main Z Functions

Z3 home