24: This condition is best solved using substitution y = cos(x). The resulting inequality is true for y ≤ −1 or for y ≥ 1/2.

The first condition is true only if cos(x) = −1, leading to x = π + 2kπ.

The second condition reads

Now intersect these conditions.

Answer