\int (\cos x-1)e^{\int \frac{dt}{\sin t}}dx