2. Find the extreme value for $f(x) = \cos[2\sin(\frac{x}{2})], x \in (0, 2\pi)$.