The problem states:

solve the equation for the solution over the interval [0,360)

tanx - cotx = 0

the solution set according to the text book is:

{45, 135, 225, 315} which makes sense since these are the only values where x = y.

My question is how do you punch this into a calculator so it makes sense!? I keep getting oddball numbers other than 0!