How does one find cot(theta)-1=0 with the interval [0, 2pi) with radians in terms of pi?