integrate (integrate p*cos(t)dp from 0 to 1)dt from -pi/2 to pi/2