If ∫secx−tanx√sin2x−sinxdx=kln|f(x)+√2√tanx(tanx−secx)|+c, where c is arbitrary constant and k is a fixed constant, then