use divergence theorem to evaluate