← Books

Springer · Undergraduate Texts in Physics · 2026

Elementary Electromagnetism Using Python

A Modern Course Combining Analytical and Numerical Techniques

About the book

An introductory electromagnetism textbook with computation built into the explanations, examples and exercises. Worked examples follow a whole problem: from building a model, to simplifying it into a form that can be solved analytically, to solving the full problem numerically.

The book runs from the electric field and potential through Gauss' law, dielectrics and ideal conductors to currents and circuits, magnetic fields, Faraday's law, inductance and Maxwell's equations. Numerical integration and numerical solutions of Laplace's and Poisson's equations are used throughout.

Course material

Material from FYS1120 Electromagnetism at the University of Oslo, where the book is the course text. The material is in Norwegian and follows the course week by week.

13 weekly learning paths

Minilectures

Short digital lectures with learning goals, quick questions and worked examples for each week's topic.

Weeks 00 to 12

Seminar problems

Problems for the weekly seminar teaching, one set per topic.

Weeks 00 to 13

Exercises

Weekly exercises and compulsory assignments, with exam preparation in the final week.

38 exams · 2009 to 2026

Previous exams

Midterm, final, mock and resit exams in electromagnetism, most with solutions and many with grading guides.

Week by week

Previous exams

Midterm, final, mock and resit exams in FYS1120 from 2009 onwards, most with solutions and many with grading guides.

All previous exam problems →