integrate from -pi to pi e^{2inx}