#
Real Functions, Arithmetic-Geometric Mean

Arithmetic-Geometric Mean or Common Mean: AGM(x, y) = MeanC(x, y)
is defined by an algorithm. Let a_0 = |x| and g_0 = |y|, then iterating
a_n+1 = (a_n + g_n)/2
g_n+1 = sqrt(a_n*g_n)
until a_n = g_n.
if ever a_n+1 = g_n+1 or g_n+1 = 0, the answer is g_n+1.
Also, AGM(x, 0) = AGM(0, y) = 0.

See: Arithmetic-Geometric Mean -- From MathWorld
And: Wolfram Function Evaluation -- ArithmeticGeometricMean
Return to Number Theory, Algorithms, and Real Functions

Return to Harry's Home Page

This page accessed times since Feb 14, 2006.

Page created by: hjsmithh@sbcglobal.net

Changes last made on Monday, 06-Aug-07 20:47:10 PDT