> Lately I've been spending time learning Scheme and using it to implement the concepts I'm learning in my physics classes as time permits.
There is a whole book for that: Learn Physics with Functional Programming A Hands-on Guide to Exploring Physics with Haskell by Scott N. Walck, December 2022, 648 pp. ISBN-13: 9781718501669
There is also SICM [0].