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

Is the function $f$ defined by $f(x) = \begin{cases} x, & \text{if } x \le 1 \\ 5, & \text{if } x > 1 \end{cases}$ continuous at $x=0$? At $x=1$? At $x=2$?

At which points is the function $f(x) = \frac{x}{[x]}$,where $[.]$ denotes the greatest integer function,discontinuous?

Consider $f(x) = \begin{cases} \frac{x^2}{|x|}, & x \ne 0 \\ 0, & x = 0 \end{cases}$

If the function $f$ defined by $f(x) = \begin{cases} \cos x, & \text{if } x \leq 0 \\ 3x + \alpha, & \text{if } 0 < x < 2 \\ \beta x + 3, & \text{if } 2 \leq x \leq 4 \\ 11, & \text{if } x > 4 \end{cases}$ where $\alpha$ and $\beta$ are real constants,is continuous on $R$,then $\alpha^2 + \beta^2 =$

If $f(x)$ is continuous on its domain $[-2,2]$,where $f(x) = \begin{cases} \frac{\sin ax}{x} + 3, & -2 \leq x < 0 \\ 2x + 7, & 0 \leq x \leq 1 \\ \sqrt{x^2+8} - b, & 1 < x \leq 2 \end{cases}$ then the value of $2a + 3b$ 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