The analytical and numerical solution of electric and magnetic fields | Synapse