Electromagnetism: Principles and Applications