Part 1 - Using a Surface Integral First we parameterize the three faces of the cylinder.
Note: in the following type as theta.
The bottom face: where , and
The top face: where , and
The lateral face: where , and
Then (mind the orientation)
+ +
Part 2 - Using the Divergence Theorem
You can earn partial credit on this problem.