cos(x) = 0 \Rightarrow x = 2n\pi \pm \frac{\pi}{2}