Back to Search Start Over

Functional Programming in Learning Electromagnetic Theory

Authors :
Walck, Scott N.
Source :
EPTCS 405, 2024, pp. 20-35
Publication Year :
2024

Abstract

Electromagnetic theory is central to physics. An undergraduate major in physics typically takes a semester or a year of electromagnetic theory as a junior or senior, and a graduate student in physics typically takes an additional semester or year at a more advanced level. In fall 2023, the author taught his undergraduate electricity and magnetism class using numerical methods in Haskell in parallel with traditional analytical methods. This article describes what functional programming has to offer to physics in general, and electromagnetic theory in particular. We give examples from vector calculus, the mathematical language in which electromagnetic theory is expressed, and electromagnetic theory itself.<br />Comment: In Proceedings TFPIE 2024, arXiv:2407.06355

Details

Database :
arXiv
Journal :
EPTCS 405, 2024, pp. 20-35
Publication Type :
Report
Accession number :
edsarx.2407.08090
Document Type :
Working Paper
Full Text :
https://doi.org/10.4204/EPTCS.405.2