integrate (sin(x-a)/sin(x-a))^(1/2)