Have a look here
integrate (cos[x])/(1+k*( ;1-cos[x])) - Wolfram|Alpha
Click on "show steps"
Have a look here
integrate (cos[x])/(1+k*( ;1-cos[x])) - Wolfram|Alpha
Click on "show steps"