\[\operatorname{am}\left(x,k\right)=\operatorname{gd}x-\tfrac{1}{4}{k^{\prime}}^%
{2}(x-\sinh x\cosh x)\operatorname{sech}x+O\left({k^{\prime}}^{4}\right).\]