integrate cost*e^iwt dt from -pi/2 to pi/2