How do you evaluate the integral int cottheta?