Deepen your understanding of physics by learning to use the Haskell functional programming language.
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.
Haskell s powerful system of types is capable of encoding important mathematical structures like vectors, derivatives, integrals, scalar fields, and differential equations. In addition, you ll explore Newtonian mechanics and electromagnetics, analyze source code, and discover why Haskell s high-order functions and referential transparency serve physics so well.
Inhaltsverzeichnis
Acknowledgments < BR> Introduction< BR> Part I: A Haskell Primer for Physicists< BR> Chapter 1: Calculating with Haskell< BR> Chapter 2: Writing Basic Functions< BR> Chapter 3: Types and Entities< BR> Chapter 4: Describing Motion< BR> Chapter 5: Working with Lists< BR> Chapter 6: Higher-Order Functions< BR> Chapter 7: Graphing Functions< BR> Chapter 8: Type Classes< BR> Chapter 9: Tuples and Type Constructors< BR> Chapter 10: Describing Motion in Three Dimensions< BR> Chapter 11: Creating Graphs< BR> Chapter 12: Creating Stand-Alone Programs< BR> Chapter 13: Creating 2D and 3D Animations < BR> Part II: Expressing Newtonian Mechanics and Solving Problems< BR> Chapter 14: Newton’ s Second Law and Differential Equations< BR> Chapter 15: Mechanics in One Dimension< BR> Chapter 16: Mechanics in Three Dimensions< BR> Chapter 17: Satellite, Projectile, and Proton Motion< BR> Chapter 18: A Very Short Primer on Relativity < BR> Chapter 19: Interacting Particles< BR> Chapter 20: Springs, Billiard Balls, and a Guitar String< BR> Part III: Expressing Electromagnetic Theory and Solving Problems< BR> Chapter 21: Electricity< BR> Chapter 22: Coordinate Systems and Fields< BR> Chapter 23: Curves, Surfaces, and Volumes< BR> Chapter 24: Electric Charge< BR> Chapter 25: Electric Field< BR> Chapter 26: Electric Current< BR> Chapter 27: Magnetic Field< BR> Chapter 28: The Lorentz Force Law< BR> Chapter 29: The Maxwell Equations< BR> Appendix: Installing Haskell< BR> Bibliography< BR> Index