## solving integral involving floor function

what would be integral [cot(x)]dx where x goes from 0 to pi?