Let Then
f is discontinuous for all A and B
f is continuous for all A=-1 and B=1
f is continuous for all A=1 and B=-1
f is continuous for all real values of A, B.
Only points of discontinuity may be \frac{\pi}{2} or -\frac{\pi}{2} because sine and cosine functions are always continuous.
For continuity at
For continuity at
So, for A=-1, B=1, f(x) is always continuous.
Study 40% syllabus and score up to 100% marks in JEE