I don't know whether to apply Stokes' Theorem or the Divergent Thereom to this problem I've been given!
"Calculate $\iint_S \vec F.d\vec S$, where $\vec F=x(x-1)yz\hat i+e^xsin(\pi y)\hat j +x^2y^2z\hat k$ and $S$ is the surface of the unit cube $0\le x,y,z\le 1$"
I suspect it's the Divergent Theorem (it's a closed surface because it's a cube, right?), but any help getting me started would be much appreciated!