\[C\left(z\right)=\int_{0}^{z}\cos\left(\tfrac{1}{2}\pi t^{2}\right)\,\mathrm{d}t,\]