Learn Physics with Functional Programming

Learn Physics with Functional Programming
出版时间:2022.12
官网链接:No Starch Press
下载地址:百度网盘(EPUB)

内容简介:

This book teaches you to solve physics problems using the functional programming paradigm. Ideal for first-time programmers and science aficionados alike, it introduces the Haskell programming language and encourages the writing of beautiful code to match the elegant ideas of theoretical physics.

Early chapters cover the basics of coding in Haskell, which has a powerful system of types capable of encoding important mathematical structures in physics, like vectors, derivatives, integrals, scalar fields, vector fields, and differential equations. Later sections of the book explore Newtonian mechanics and electromagnetics—two central pillars of theoretical physics. In addition, you’ll get a deep look into source code, and discover why Haskell’s high-order functions and referential transparency serve physics so well. Along the way, you’ll learn:

  • How to write beautiful code that expresses fundamental physical principles
  • How to make graphs and animations of interesting situations
  • How to program in a language that looks like mathematics
  • How types, high order functions, and referential transparency serve physics well

Author Bio

Scott Walck has a PhD in Physics from Lehigh University. He has taught physics, including computational physics, to undergraduates (physics majors and non-majors) for 20 years at Lebanon Valley College, where he has been recognized with a Distinguished Teaching Award. Walck is a 3-time NSF grant recipient for research in quantum information and is the author of 30+ peer-reviewed research articles in physics.

给TA买糖
共{{data.count}}人
人已赞赏
电子书

Genomics in the Azure Cloud

2022-11-25 18:11:13

电子书

Python for Kids, 2nd Edition

2022-11-25 19:03:21

搜索