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

Let $f(x) = \frac{1 - \tan x}{4x - \pi }, x \ne \frac{\pi }{4}, x \in [0, \frac{\pi }{2}]$. If $f(x)$ is continuous in $[0, \frac{\pi }{2}]$,then $f(\frac{\pi }{4})$ is

In order that the function $f(x) = (x + 1)^{\cot x}$ is continuous at $x = 0$,$f(0)$ must be defined as

Let $f(x) = \begin{cases} \frac{2^x + 2^{3-x} - 6}{\sqrt{2^{-x}} - 2^{1-x}} & \text{if } x > 2 \\ \frac{x^2 - 4}{x - \sqrt{3x - 2}} & \text{if } x < 2 \end{cases}$. Determine the nature of the function at $x = 2$.

The number of points of discontinuity of the function $f(x) = [\frac{x^2}{2}] - [\sqrt{x}]$ for $x \in [0, 4]$,where $[\cdot]$ denotes the greatest integer function,is . . . . . . .

If $f(x) = \begin{cases} [x] + [-x], & x \ne 2 \\ \lambda, & x = 2 \end{cases},$ then $f$ is continuous at $x = 2,$ provided $\lambda$ is (where $[.]$ is the Greatest Integer Function).

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