The correct option is B a ∈ [2,6]
Note: There is an error in this question.
The correct equation is cos2x+7=a(2−sinx)
cos2x+7=a(2−sinx)
⇒1−2sin2x+7=2a−asinx
⇒2sin2x−asinx+2a−8
⇒sinx=a±√a2−8(2a−8)4⇒sinx=a±(a−8)4⇒sinx=a−42
We know that,
−1≤sinx≤1⇒−1≤a−42≤1⇒2≤a≤6