The correct option is C 3
For x=0,[cosx]=1
Expression becomes 1−x=1⇒x=0
For x∈(0,π2),[cosx]=0
Expression becomes 1−x=0⇒x=1, which is in range.
For x∈(π2,π),[cosx]=−1
Expression becomes 1−x=−1⇒x=2, which is also in range.
For x∈(π,3π2),[cosx]=0
Expression becomes 1−x=0⇒x=1, which is not in the considered range.
For later values of x, it will not satisfy the expression.
Therefore only 3 values of x.