find roots of 1 = cos(x) + sin(x)