This problem will illustrate the divergence theorem by computing the outward flux of the vector field across the boundary of the right rectangular prism: oriented outwards using a surface integral and a triple integral over the solid bounded by rectangular prism.
Note: The vectors in this field point outwards from the origin, so we would expect the flux across each face of the prism to be positive.

Part 1 - Using a Surface Integral
First we parameterize the six faces using and :

The face with z = -3 : 


The face with z = 5 :  


The face with x = -4 :  


The face with x = 6 :  


The face with y = -2 :  


The face with y = 7 :  


Then (mind the orientation)

+ + + + +

Part 2 - Using the Divergence Theorem


 

 

 

  

You can earn partial credit on this problem.