Tập nghiệm của phương trình \( \cos x = \dfrac{{ \sqrt 2 }}{2} \) là:
A.\(\left\{ {\dfrac{{3\pi }}{4} + k2\pi ,\,\,k \in \mathbb{Z}} \right\}\)
B.\(\left\{ { - \dfrac{\pi }{4} + k2\pi ,\,\,\dfrac{{5\pi }}{4} + k2\pi \,\,k \in \mathbb{Z}} \right\}\)
C.\(\left\{ { \pm \dfrac{{3\pi }}{4} + k2\pi ,\,\,k \in \mathbb{Z}} \right\}\)
D.\(\left\{ { \pm \dfrac{\pi }{4} + k2\pi ,\,\,k \in \mathbb{Z}} \right\}\)