\prod_{k=1}^{n-1} \exp(i k\pi/n) = \prod_{k=1}^{n-1} \left( \cos(k\pi/n) + i \sin(k\pi/n) \right)