Proceedings of the Royal Irish Academy: Maxwell’s and Dirac’s equations in the expanding universe