The integral equation with a singularity is as follows: $$\Omega=\int^\pi_0\frac{\cos(\theta)}{\sqrt{1-\cos(\theta)}}\,d\theta$$ I want to calculate this integral numerically. Is there an analytic expression that can be used when $\theta=0$, or is there a way to remove the singularity? Any insights on dealing with singular numerical integrals are very useful to me.
Thank you
If $\theta$ is close to $0$, then $\cos \theta$ behaves like $1-\frac{\theta^2}{2}$. It means that the integrand behaves like $\frac{2-\theta^2}{\sqrt 2 \theta}$, hence the singularity in zero is non-integrable.