Use Green's Theorem to compute the value of the line integral $\int_{\gamma}ydx + x^2dy$, where $\gamma$ is the circle given by $g(t) = (\cos t, \sin t), 0 \leq t \leq 2\pi$
I have
$$\begin{align} \int_{\gamma} Fdx + Gdy = \int_{0}^{2\pi}(\sin t + \cos^2 t)dt = \bigg[\cos t - \sin^2t \bigg]_{0}^{2\pi} = (1-0) - (1-0) = 0 \end{align}$$
I get my answer as 0, but my textbook says the answer is $-\pi$.
I don't think I used the fact that $\gamma$ is a circle correctly, but not really sure what went wrong. Any help would be appreciated, thanks
$d(ydx+x^2dy)=dy\wedge dx+2xdx\wedge dy=dx\wedge dy$. Green theorem implies that $\int_\gamma ydx+x^2dy=\int_{B(0,1)}dx\wedge dy=\pi$ the later is the area of the ball of radius $1$ in the plane.