\[\operatorname{sn}\left(z,k\right)=\frac{2\pi}{Kk}\sum_{n=0}^{\infty}\frac{q^{n%
+\frac{1}{2}}\sin\left((2n+1)\zeta\right)}{1-q^{2n+1}},\]