1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Programming physics books

  1. Apr 18, 2014 #1
    I am looking for recommendations of books that teach physics, with an emphasis on solving real-world problems with code.

    I find I can only really fully grasp a concept if I can actually program it and visualize it in MATLAB, change variables and see what effect that has on the results.

    So would anyone have recommendations of books that are accompanied with computer code? My language of choice is MATLAB but I can translate anything really to MATLAB, so the focus would be on lots of examples and thorough code.

    It would be great if it went through all the important physical mathematics such as ODE's PDE's and their applications eg Electromag.. I just find book after book with the same equations written down but have no idea how to actually use them.

  2. jcsd
  3. Apr 18, 2014 #2


    User Avatar
    Gold Member

    I can only recommend the text I used for computational physics. Our language was Matlab as well, but the text was written in Fortran. That doesn't particularly matter though, since they introduce the pseudocode first:

  4. Apr 18, 2014 #3
    Thanks, I had a look at the first few examples and got them working in MATLAB. This is definitely the kind of thing I am after. I will pick up this book so I can actually understand whats going on now lol.

    Any more suggestions along the lines of this would be great, thanks.
  5. Apr 18, 2014 #4
    Last edited by a moderator: May 6, 2017
  6. Sep 9, 2014 #5
    Here is a book in numerical methods related to mechanics of shells (with lots of commented ready-to-use source codes in C/C++ on applied CD-ROM):

    Last edited by a moderator: May 6, 2017
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted

Similar Threads - Programming physics books Date
Other Good books to learn Matlab Sep 24, 2017
Computational Fortran books/resources for beginners Apr 27, 2017
Engineering Recommended textbooks based on provided topics (supplementary undergrad texts) Sep 22, 2016
Computational Physics Book Based ON ''c'' Programming Jul 29, 2013
Textbook for physics programming Dec 12, 2011