\[\operatorname{am}\left(x,k\right)=x-\tfrac{1}{4}k^{2}(x-\sin x\cos x)+O\left(k%
^{4}\right),\]