Step 1:
The divergence of a vector field $\mathbf{F}$ in Cartesian coordinates is given by the formula:
\[\nabla \cdot \mathbf{F} = \frac{\partial F_{x}}{\partial x} + \frac{\partial F_{y}}{\partial y} + \frac{\partial F_{z}}{\partial z}\]
where $F_{x}$, $F_{y}$,
Show more…