Learn Physics with Functional Programming (No Starch Press)
Friday, 17 February 2023

This book sets out to unlock the mysteries of theoretical physics by coding the underlying math in Haskell. Scott Walck shows how to use Haskell’s type system to check that your code makes sense. Walck explains Newtonian mechanics and electromagnetic theory, including how to describe and calculate electric and magnetic fields.

 

Author: Scott Walck
Publisher: No Starch Press
Date: January 2023
Pages: 648
ISBN: 978-1718501669
Print:1718501668
Kindle: B09WJWSFW8
Audience: People interested in physics
Level: Intermediate/Advanced
Category: Other Languages and Mathematics

physicshaskell

Topics include:

 

  • Encode vectors, derivatives, integrals, scalar fields, vector fields, and differential equations
  • Express fundamental physical principles using the logic of Haskell’s type system to clarify Newton’s second law, Coulomb’s law, the Biot-Savart law, and the Maxwell equations
  • Use higher-order functions to express numerical integration and approximation methods, such as the Euler method and the finite-difference time-domain (FDTD) method
  • Create graphs, models, and animations of physical scenarios like colliding billiard balls, waves in a guitar string, and a proton in a magnetic field

 

For recommendations of functional programming books see First Class Functional Programming Books in our Programmer's Bookshelf section.

For more Book Watch just click.

Book Watch is I Programmer's listing of new books and is compiled using publishers' publicity material. It is not to be read as a review where we provide an independent assessment. Some, but by no means all, of the books in Book Watch are eventually reviewed.

To have new titles included in Book Watch contact  BookWatch@i-programmer.info

Follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.

 

 

Banner
 


Principled Programming

Author: Tim Teitelbaum
Publisher: DateTree Press
Date: March 2023
Pages: 429
ISBN: 978-8987744109
Print: B0BZF8R467
Audience: General
Rating: 5
Reviewer: Mike James
Principled Programming - what else would you want to do?



The Async-First Playbook

Author: Sumeet Gayathri Moghe
Publisher: Addison-Wesley
Pages: 368
ISBN: 978-0138187538
Print: 0138187533
Kindle: B0CCTZHB9N
Audience: Agile developers
Rating: 4
Reviewer: Kay Ewbank

The driver behind this book was the pandemic and the need to find ways to make remote working effective for teams. So do [ ... ]


More Reviews