lf f(x)=cosx−cos2x+cos3x−……… to ∞, then ∫f(x)dx is equal to
is equal to
A. tan x + cot x + C
B. tan x + cosec x + C
C. − tan x + cot x + C
D. tan x + sec x + C