0∫π [cot x] dx, where [.] denotes the greatest integer function

0π [cot x] dx, where [.] denotes the greatest integer function, is equal to

  1. -π/2
  2. 1
  3. -1
  4. π/2

Answer

0π [cot x] dx

= 0π/2 {[cotx] + [-cotx]}dx

0π/2 (-1)dx

The correct option is A.