Sometimes, the parts of physics problems can seem totally unrelated. A pig sliding down a Gaussian surface has nothing to do with the current through a pencil.