The correct option is D x∈(−1,0)
Given : f(x)=x+cosx is continuous and monotonic in R.
⇒I.V.T. is applicable in any interval.
Now, f(0)=1>0,f(1)=1+cos1>0
⇒ no solution.
f(−1)=−1+cos1<0,f(1)=1+cos1>0
f(2)=2+cos2>0
⇒f(x)=0 has atleast one solution in (−1,1) or (−1,0) but no solution in (0,1) or (1,2)