Let $f:[0, \pi] \rightarrow R$ be defined as $f(x)=\begin{cases} \sin x, & \text{if } x \text{ is irrational and } x \in[0, \pi] \\ \tan^2 x, & \text{if } x \text{ is rational and } x \in[0, \pi] \end{cases}$. The number of points in $[0, \pi]$ at which the function $f$ is continuous is

  • A
    $6$
  • B
    $4$
  • C
    $2$
  • D
    $0$

Explore More

Similar Questions

Given $f(x) = \begin{cases} \frac{\ln(1+\text{sgn}[x]+{x}^2)}{1-\cos{x}} & \text{if } x \neq 0 \\ k & \text{if } x = 0 \end{cases}$ (where $[\cdot]$,${\cdot}$ and $\text{sgn } x$ denote the greatest integer function,fractional part function,and signum function respectively),which of the following is true?

If $f(x) = \begin{cases} 3 + x; & x \geqslant 0 \\ 2 - 3x; & x < 0 \end{cases}$,then $\lim_{x \to 0} f(f(x))$ is equal to -

Let $f(x) = \begin{cases} x^2 + k, & \text{when } x \ge 0 \\ -x^2 - k, & \text{when } x < 0 \end{cases}$. If the function $f(x)$ is continuous at $x = 0$,then $k =$

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

If $f(x) = \left(\frac{1+x}{1-x}\right)^{\frac{1}{x}}$ is continuous at $x = 0$,then $f(0) = $

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