I actually saw no sense in replying to a question already answered, but I
did regret that I missed out on a chance to show off my leet math skillz and since this seems to have become the unofficial "Show off your scientific background here 3" thread, I'll just post how I came to answer the question:
When I saw the equaltion I instinctively felt something was wrong with it, and that this function could only be true at singular points. After a moment of thought it was clear:
sin(x)-1 = cos²(x) | substitute a = b for oversight
but: sin(x) <= 1 always => sin(x)-1 <= 0 always
cos²(x) >= 0 always
so we got a <= 0 <= b and want to find a = b. Get it? only a=b=0 is possible, so sin(x)=1 and cos(x)=0
this is true only for (2*y+0.5)*pi, in other words 0.5*pi, 2.5*pi etc.
So 90° is the correct answer.
Now as I mentioned already, the answer was given long ago. This is just showing off my thinking.
Looks more awkward than my actual thougts actually, which were basically "Wait, sin(x) has to be 1 or it'd be negative!" the rest is so deeply indoctrinated I don't percieve it consciously.