integrate cos(x) from -infinity to infinity