The correct option is D the range of f is [0,π3]
f(x)=sec−1(1+cos2x)
We know, −1≤cosx≤1
⇒0≤cos2x≤1
⇒1≤cos2x+1≤2
Since, cosx is defined in R and domain of sec−1y is (−∞,−1]∪[1,∞), hence domain of f is R.
Hence, the range of the function is
[sec−11,sec−12]=[0,π3]