If $f(x)= \begin{cases}-2 \sin x & , \quad x \leqslant-\frac{\pi}{2} \\ a \sin x+b & , \quad \frac{-\pi}{2} < x < \frac{\pi}{2} \\ \cos x & , \quad x \geqslant \frac{\pi}{2}\end{cases}$ is continuous at $x=-\frac{\pi}{2}$ and $x=\frac{\pi}{2}$,then the value of $2a+b$ is

  • A
    $0$
  • B
    $1$
  • C
    $2$
  • D
    $-1$

Explore More

Similar Questions

If $f: R \rightarrow R$ defined as $f(x) = \frac{x^3+2x^2+x+2}{x^2+x-2}$ (when $x \neq -2$) is continuous at $x = -2$, then $f(-2)$ is equal to

If $f(x) = \begin{cases} x \sin x, & 0 < x \le \frac{\pi}{2} \\ \frac{\pi}{2} \sin(\pi + x), & \frac{\pi}{2} < x < \pi \end{cases}$,then

Find all points of discontinuity of the function $f$ defined by $f(x) = |x| - |x + 1|$.

Let $f:[-1,2] \rightarrow R$ be defined by $f(x)=[x^2-3]$ where $[\cdot]$ denotes the greatest integer function. The number of points of discontinuity for the function $f$ in the interval $(-1,2)$ is:

Let $[x]$ be the greatest integer less than or equal to $x$. At which of the following point$(s)$ is the function $f(x) = x \cos(\pi(x + [x]))$ discontinuous?
$[A]$ $x = -1$
$[B]$ $x = 0$
$[C]$ $x = 2$
$[D]$ $x = 1$

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