Anonymous user
Arithmetic-geometric mean: Difference between revisions
m
elided a doubly linked to URL.
m (elided a doubly linked to URL.) |
|||
Line 5:
;Task:
Write a function to compute the [[wp:Arithmetic-geometric mean|arithmetic-geometric mean]] of two numbers.
The arithmetic-geometric mean of two numbers can be (usefully) denoted as <math>\mathrm{agm}(a,g)</math>, and is equal to the limit of the sequence:
: <math>a_0 = a; \qquad g_0 = g</math>
|