Text this: The Analytical and numerical solution of electric and magnetic fields