Formula
\tan (x/2)=\sin x/(1+\cos x)=(1-\cos x)/\sin x, \text{ where defined}
LaTeX
\tan (x/2)=\sin x/(1+\cos x)=(1-\cos x)/\sin x, \text{ where defined}
Plain text
tan(x/2)=sin x/(1+cos x)=(1-cos x)/sin x, where defined
Read the topic: Trigonometric identities: the main toolkit