Correct option is D
Given:
cosx+cosx1=2
Solution:
Let cos x = a Then the equation becomes:
a+a1=2
Multiply through by a (assuming a=0 )
a2+1=2a
a2−2a+1=0
Factorize:
(a−1)2=0
a = 1
cos x = 1
Generalize for cosnx+cosnx1
Since cos x = 1
cosnx=1n=1
Substitute into the expression:
cosnx+cosnx1 = 1+11 =1+1 = 2
cosnx+cosnx1 = 2
Thus, correct answer is (d) 2