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

Find the values of $k$ so that the function $f$ is continuous at the indicated point.
$f(x) = \begin{cases} \frac{k \cos x}{\pi - 2x}, & \text{if } x \neq \frac{\pi}{2} \\ 3, & \text{if } x = \frac{\pi}{2} \end{cases}$ at $x = \frac{\pi}{2}$

If $a$ is the point of discontinuity of the function $f(x) = \begin{cases} \cos 2 x, & \text{for } -\infty < x < 0 \\ e^{3 x}, & \text{for } 0 \leq x < 3 \\ x^2-4 x+3, & \text{for } 3 \leq x \leq 6 \\ \frac{\log (15 x-89)}{x-6}, & \text{for } x>6 \end{cases}$ Then,$\lim _{x \rightarrow a} \frac{x^2-9}{x^3-5 x^2+9 x-9} =$

If $f(x) = \left(\frac{1+\tan x}{1+\sin x}\right)^{\operatorname{cosec} x}$ is continuous at $x=0$,then $f(0)$ is equal to

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$

If $f(x) = \log(\sec^2 x)^{\cot^2 x}$ for $x \neq 0$ and $f(x) = K+1$ for $x=0$ is continuous at $x=0$,then the value of $K$ is

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