In this manuscript, we present the variational derivation of Maxwell’s equations by means of the variational bi-complex. We use this exercise to introduce the reader to the formulation of geometric variational problems and their implementation in a Computer Algebra System.