Preview for editing tables

In this editor you can enter or edit tables in YAML format, and you can get a preview of how numberdb would render it. You cannot save changes here. Once everything looks good, upload it to the git repository numberdb-data.
— preview —
Values of the arithmetic-geometric mean
edit on github
INPUT{numbers.yaml} (not shown in preview)
The arithmetic-geometric mean $\text{agm}(a,b)$ of two non-negative real numbers $a$ and $b$ is defined as the simultaneous limit $\lim a_n = \lim g_n$ of the sequences $(a_n)$ and $(g_n)$ given by $a_0 = a$, $g_0 = b$, $a_{n+1} = (a_n + g_n)/2$, $g_{n+1} = \sqrt{a_n g_n}$. This table lists values of $\text{agm}(a,b)$ for certain pairs of integers $a$ and $b$.
—   real number ($a \geq 0$)
—   real number ($b \geq 0$)
$\text{agm}(a,b) = \frac{(a+b)\pi}{4K((a-b)/(a+b))}$, where $K(k) = \int_0^{\pi/2} \frac{d\theta}{\sqrt{1-k^2\sin^2\theta}}$ is the complete elliptic integral of the first kind [3].
$\text{agm}(a,b) = \text{agm}(b,a)$
$\text{agm}(a,a) = a$
$\text{agm}(0,a) = 0$
Due to the symmetry (2) and trivial cases (3), (4), we only list values for $a < b$.
Data properties
Entries are of type: real number
Table is complete: no