Step 1:
Recall the integral form of Gauss's law for magnetism, which states that the total magnetic flux out of any closed surface is zero:
\[
\oint_S \mathbf{B} \cdot d\mathbf{S} = 0
\]
where \(\mathbf{B}\) is the magnetic field and \(d\mathbf{S}\) is the vector
Show more…