Calculus

Answer & solution
Answer: 1 (no official key was published)
Use the divergence theorem. The divergence is ∂(x cos²y)/∂x+∂(x²ez)/∂y+∂(z sin²y)/∂z=cos²y+0+sin²y=1. Integrating over the cube multiplies this constant by its volume, one, so outward flux is one. The middle component has no y dependence and contributes zero to divergence. Outward orientation is the conventional normal on a closed surface; reversing every normal would reverse the flux sign.