# A calculus problem by Navdeep Nainwal

Calculus Level 2

Integration of [cot(x)], with respect to dx from limits 0 to pie and here [ ] represents greatest integer function.

$\large \int_0^\pi \lfloor \cot x \rfloor \ dx = \ ?$

Notation: $$\lfloor \cdot \rfloor$$ denotes the floor function.

×