Question 274067
if I understand your question correctly, then:


x <= 30 degrees


or:


(180 - x) >= 150 degrees


either one expresses the fact that the angle can't be greater than 30 degrees.


to be more specific, however, you might need to say that the angle has to be greater than or equal to 0 degrees as well, since the angle could also be negative.


if this is implied by the nature of the problem (you are only dealing with positive angles), then you don't have to worry about that.


if you do have to worry about it, then:


0 <= x <= 30 degrees


or:


180 >= (180-x) >= 150 degrees


that last statement forces x to be >= 0.