integrate cosinus from -pi/2 to pi/2