\documentclass{ctexart}
\usepackage{gensymb}
\usepackage{textcomp}
\begin{document}
The cosine of 90 degrees is $\cos(90\degree) = 0$.
The cosine of 90 degrees is $\cos(90\textdegree) = 0$.
The cosine of 90 degrees is cos(90\textdegree) = 0.
The cosine of 90 degrees is $\cos(90^{\circ}) = 0$.
\end{document}