If ∫1−(cotx)2008tanx+(cotx)2009dx=1kln∣∣sinkx+coskx∣∣+C for arbitrary constant of integration C, then the value of k is