integrate cos x dx from x=0 to pi