Specifications
book-author | Scott N. Walck |
---|---|
file-type | |
isbn10 | 1718501668 |
isbn13 | 9781718501669 |
language | English |
pages | 648 |
publisher | No Starch Press |
Book Description
Learning the functional programming language Haskell can help you comprehend physical principles on a much deeper level.
Learn Physics with Functional Programming will help you solve the puzzles of theoretical physics by teaching you how to write programs in the functional programming language Haskell.
As you study Newtonian mechanics and electromagnetic theory, including the description and calculation of electric and magnetic fields, the type system in Haskell will help you ensure that your code is correct.
By following along with the many provided examples and exercises, you will gain an understanding of how to:
• Code differential equations, scalar fields, vector fields, derivatives, integrals, and vectors.
• Newton's second law, Coulomb's law, the Biot-Savart law, and the Maxwell equations can all be expressed with the clarity afforded by the logic of Haskell's type system.
• The Euler and the finite-difference time-domain (FDTD) methods are two examples of numerical integration and approximation techniques that can be expressed using higher-order functions.
• Make charts, models, and videos depicting real-world occurrences like pool balls colliding, waves on a guitar string, and a proton in a magnetic field.
Learn Physics with Functional Programming will show you how to use the strength of functional programming to delve into the beautiful ideas of theoretical physics, whether you're using it as a core textbook for a computational physics course or for self-study.
Reviews
There are no reviews yet