Evaluate the complex line integral $\int_C \frac{1+z}{z}dz$ where the curve is the right semicircle centered at $0$ with a radius of $4$, going upward.
My attempt:
First, I need to define the curve as $z$ which is a function of $t$, so $z(t)$. I know that the equation of a circle is $x^2+y^2=1$, so:
$$z(t)=\frac{1}{4}(x^2(t)+y^2(t))=\frac{1}{4}(1)$$
But I'm stuck after this.
Let $z=re^{i\theta}$. Then $dz=ire^{i\theta}d\theta$. For the curve, $r=4,-\frac{\pi}{2}\leq\theta\leq\frac{\pi}{2}$. Then \begin{align} \int_C\frac{1+z}{z}dz&=\int_{-\pi/2}^{\pi/2}\frac{1+4e^{i\theta}}{4e^{i\theta}}4ie^{i\theta}d\theta\\ &=i\int_{-\pi/2}^{\pi/2}\left(1+4e^{i\theta}\right)d\theta\\ &=i\pi+4e^{i\pi/2}-4e^{-i\pi/2}\\ &=i\pi+8i\sin(\pi/2)\\ &=(8+\pi)i \end{align}