{"title":"学习电磁理论中的函数式编程","authors":"Scott N. WalckLebanon Valley College","doi":"arxiv-2407.08090","DOIUrl":null,"url":null,"abstract":"Electromagnetic theory is central to physics. An undergraduate major in\nphysics typically takes a semester or a year of electromagnetic theory as a\njunior or senior, and a graduate student in physics typically takes an\nadditional semester or year at a more advanced level. In fall 2023, the author\ntaught his undergraduate electricity and magnetism class using numerical\nmethods in Haskell in parallel with traditional analytical methods. This\narticle describes what functional programming has to offer to physics in\ngeneral, and electromagnetic theory in particular. We give examples from vector\ncalculus, the mathematical language in which electromagnetic theory is\nexpressed, and electromagnetic theory itself.","PeriodicalId":501197,"journal":{"name":"arXiv - CS - Programming Languages","volume":"17 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Functional Programming in Learning Electromagnetic Theory\",\"authors\":\"Scott N. WalckLebanon Valley College\",\"doi\":\"arxiv-2407.08090\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Electromagnetic theory is central to physics. An undergraduate major in\\nphysics typically takes a semester or a year of electromagnetic theory as a\\njunior or senior, and a graduate student in physics typically takes an\\nadditional semester or year at a more advanced level. In fall 2023, the author\\ntaught his undergraduate electricity and magnetism class using numerical\\nmethods in Haskell in parallel with traditional analytical methods. This\\narticle describes what functional programming has to offer to physics in\\ngeneral, and electromagnetic theory in particular. We give examples from vector\\ncalculus, the mathematical language in which electromagnetic theory is\\nexpressed, and electromagnetic theory itself.\",\"PeriodicalId\":501197,\"journal\":{\"name\":\"arXiv - CS - Programming Languages\",\"volume\":\"17 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-07-10\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Programming Languages\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2407.08090\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Programming Languages","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.08090","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Functional Programming in Learning Electromagnetic Theory
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.