Calculus (3rd Edition)

Take $\theta =0$; then $\cos 0=1$. Now, $\cos^{-1} 1=0, 2\pi, 4\pi,...$ This does not contradict the inverse function because the inverse cosine function values are restricted to $[0,\pi]$.