Principles and Applications of Electromagnetic Fields