21: This condition is best solved by substitution y = cos(x), the resulting equation ( y − 1)2 > 0 is true for y ≠ 1, so one gets x ≠ 2kπ.
Answer