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