\[\theta_{2}\left(z\middle|\tau\right)=\theta_{2}\left(z,q\right)=2\sum\limits_{%
n=0}^{\infty}q^{(n+\frac{1}{2})^{2}}\cos\left((2n+1)z\right),\]