How to use Stokes theorem? Use Stokes theorem to evaluate $\int_{C} [ydx+y^{2}dy+(x+2z)dz]$ where $C$ is the curve of intersection of the sphere $x^{2}+y^{2}+z^{2}=a^{2}$ and the plane $y+z=a$ oriented counterclockwise as viewed from above.
I can't seem to understand the examples in the book. Can someone explain to me what this means and how to apply Stokes formula?
EDIT:
I still dont understand what exactly hes talking about i have figured out wha ti am supposed to take the curl of at least (now that i know what thing the curl is suppsoed to be taken on).
Curl F =  (0)dydz-(-1)dxdz+(-1)dxdy
from wha ti have been able to decifer i think n is supposed to be the vertor normal to the 2 sufaces  $x^{2}+y^{2}+z^{2}=a^{2}$ and $y+z=a$ in which case
$n=\begin{bmatrix} e_{1}&e_{2}&e_{3} \\ 0&1&1 \\ 2x&2y&2z\\ \end{bmatrix}$
$n=(2z-2y)i+(2x)j-(2z)k$
thus $\int\int_{S}2xdxdz+2xdxdy$
$=(x^{2}z+x^{2}y)||_{S}$ which again makes no sense
when i calculate K below i get 1-1=0 which also makes no sense 

EDIT: Someone bumped this answer so i figured i should correct it...

Im leaving the picture up here my attempt at doing the question in both ways.
$\int_{C}[ydx+y^{2}dy+(x+2z)dz]$ where C is the curve of intersection of the sphere $x^{2}+y^{2}+z^{2}=a^{2}$ and the plane $y+z=a$
Stokes theorem makes very little sense to me but ill give my best shot at an answer both ways.
By a normal evaluation.
$z=2*[a^{2}-(x^{2}+y^{2})]^{\frac {1}{2}}$
we have $z=a-y$ Subbing $\to x^{2}+y^{2}+(a-y)^{2}=a^{2}$
$x^{2}+y^{2}+a^{2} +y^{2}-2ay =a^{2}$
$x^{2} +2(y-\frac {a}{2})^2 -\frac {a^{2}}{2} =0$
$(\frac{2^{1/2}x}{a})^{2} + (\frac{2y}{a}-1)^2 =1$ $u=\frac{2^{1/2}x}{a}$ $v=(\frac{2y}{a}-1)$ 
$u^{2}+v^{2}=1$ = $\pi*1^{2} *2$ * $Det|u,v|$
$Det|u,v|= \begin{bmatrix}
\frac {a}{2^{1/2}} & 0 \\
0 & \frac {a}{2} \\
\end{bmatrix}$
Thus the answer should be $\frac{a^{2}\pi}{2^{1/2}}$
By Stokes.
First lets start with the theorem, $\int_{\partial S} F \cdot dx= \int \int_{S} (curl F) \cdot n dA$
$curl F = \begin{bmatrix}
i & j& k \\
d1 & d2 & d3 \\
F1 & F2 & F3 \\
\end{bmatrix}$
$curl F =Det| \begin{bmatrix}
i & j& k \\
d1 & d2 & d3 \\
y & y^{2} & (x+2z) \\
\end{bmatrix}|$ =
$(0-0)i -(1-0)j+(0-1)k$ 
Clearly the norm of the surface pointed upward as viewed from above (n) is
$Curl F = \begin{bmatrix}
0 \\ -1   \\ -1  \\ \end{bmatrix} n = \begin{bmatrix}
0 \\ 1   \\ 1  \\ \end{bmatrix}$ 
$Curl F \cdot n= -2$
Now we have $\int \int_{S} -2 dA$ using above dA over S = $\frac{a^{2}\pi}{2^{3/2}}$
so we have the $\frac{a^{2}\pi}{2^{3/2}} * -2 = -\frac{a^{2}\pi}{2^{1/2}}$ not really sure why this one is negative, its probably due to orientation but im not sure which way is right or even if either is correct.
