The values of $A$ and $B$ such that the function $f(x) = \begin{cases} -2\sin x, & x \le -\frac{\pi}{2} \\ A\sin x + B, & -\frac{\pi}{2} < x < \frac{\pi}{2} \\ \cos x, & x \ge \frac{\pi}{2} \end{cases}$ is continuous everywhere are

  • A
    $A = 0, B = 1$
  • B
    $A = 1, B = 1$
  • C
    $A = -1, B = 1$
  • D
    $A = -1, B = 0$

Explore More

Similar Questions

The function $f(x) = \begin{cases} \frac{x - |x|}{x}, & x \neq 0 \\ 2, & x = 0 \end{cases}$

Let $f(x) = \begin{cases} 0, & x < 0 \\ x^2, & x \ge 0 \end{cases}$,then for all values of $x$

Let $\alpha \in R$ be such that the function $f(x) = \begin{cases} \frac{\cos^{-1}(1-\{x\}^2) \sin^{-1}(1-\{x\})}{\{x\}-\{x\}^3}, & x \neq 0 \\ \alpha, & x=0 \end{cases}$ is continuous at $x=0$,where $\{x\} = x - [x]$ and $[x]$ is the greatest integer less than or equal to $x$. Then:

If the function $f(x) = \begin{cases} \frac{\sqrt{2 + \cos x} - 1}{(\pi - x)^2}, & x \neq \pi \\ k, & x = \pi \end{cases}$ is continuous at $x = \pi$,then $k$ equals:

If $f: R \rightarrow R$ is defined by $f(x) = \begin{cases} \frac{x + 2}{x^2 + 3 x + 2}, & x \in R - \{-1, -2\} \\ -1, & x = -2 \\ 0, & x = -1 \end{cases}$ then $f$ is continuous on the set

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo