If $[\cdot]$ denotes the greatest integer function,then the integral $\int_{0}^{\pi} [\cos x] \, dx$ is equal to:

  • A
    $\frac{\pi}{2}$
  • B
    $0$
  • C
    $-1$
  • D
    $-\frac{\pi}{2}$

Explore More

Similar Questions

If $f(x) = \frac{x^3+5}{\sqrt{12+x}}$ and $\int_{-5}^5 f(x) dx = \int_0^5 (f(x) + g(x)) dx$,then $g(x) =$

If $\int_{0}^{1} \tan ^{-1} x \, dx = p$,then the value of $\int_{0}^{1} \tan ^{-1}\left(\frac{1-x}{1+x}\right) \, dx$ is

$\int_0^1 \frac{8 \log (1+x)}{1+x^2} dx =$

The value of the integral $\int_{-2}^{2} \frac{\sin^2 x}{[\frac{x}{\pi}] + \frac{1}{2}} \, dx$ (where $[x]$ denotes the greatest integer less than or equal to $x$) is

Assertion $(A)$: $\int_{\frac{\pi}{2}}^{\frac{3 \pi}{2}} [2 \sin x] dx = 0$,where $[.]$ denotes the greatest integer function.
Reason $(R)$: $2 \sin x$ is a decreasing function in $\left[\frac{\pi}{2}, \frac{3 \pi}{2}\right]$.

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