GeometricMean
GeometricMean (a, b)
The GeometricMean function returns the arithmetic-geometric mean of two positive real numbers a and b. The mean is computed by creating two sequences {ai} and {bi} initialized to the input values: a0=a and b0=b with
The two sequences converge in a few iterations to a single value which is the arithmetic-geometric mean.