integrate cos(x) from 0 to pi/2