integrate csc(x) from pi/2 to pi