Find the polar representation of the complex number $$z = \sin\theta+i(1+\cos\theta)$$ where $θ \in[0,2\pi)$.
I know how to write a formula in polar representation using hard numbers, e.g. $$ z = 3(\cos\pi+i\sin\pi)$$ and know that I need to find both my radius using the $\sqrt{a^2+b^2}$ formula, and to also find $\theta$ using $\tan^{-1}$.
The problem I have with this question is I am not sure how to do it without actual numbers. Need lots of help.
Note that\begin{align}z&=\sin(\theta)+i\bigl(1+\cos(\theta)\bigr)\\&=2\sin\left(\frac\theta2\right)\cos\left(\frac\theta2\right)+i\left(\cos^2\left(\frac\theta2\right)+\sin^2\left(\frac\theta2\right)+\cos^2\left(\frac\theta2\right)-\sin^2\left(\frac\theta2\right)\right)\\&=2\sin\left(\frac\theta2\right)\cos\left(\frac\theta2\right)+2i\cos^2\left(\frac\theta2\right)\\&=2\cos\left(\frac\theta2\right)\left(\sin\left(\frac\theta2\right)+i\cos\left(\frac\theta2\right)\right)\\&=2\cos\left(\frac\theta2\right)\left(\cos\left(\frac\pi2-\frac\theta2\right)+i\sin\left(\frac\pi2-\frac\theta2\right)\right).\end{align}Can you take it from here?