Computational Methods for Electromagnetic Phenomena