first I've a question: Is the domain really [0, 2]? Or do you mean [0, 2pi]?
The results of the first problem are OK.
According to your domain you can't use negative results. And: 5/6*pi = 2.61... that means, it is not in your domain. The only possible result is pi/6.