The correct option is D √2log|cot(π8−x4)|+c
∫1√1−sinxdx=∫dx(sinx/2−cosx/2)
1√2∫dx(1/√2)(sinx/2−cosx/2)
1√2∫dxsin(π/4−x/2)
= 1√2∫cosec (π/4−x/2)dx
=2√2 [ log ∣∣cosec (π/4−x/2)−cot(π/4−x/2)∣∣]+c
= √2 [ log[ cot (π/8−x/4)]]+c
= √2 log∣∣ cot (π/8−x/4)∣∣+c