计算机科学 > 程序设计语言
[提交于 2024年7月10日]
标题:Functional Programming in Learning Electromagnetic Theory
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:EPTCS[v1] 2024年7月10日 星期三 23:27:37 UTC