Textbook for physics programming

AI Thread Summary
The discussion centers on finding a suitable textbook for writing simple physics models, particularly for someone with a background in physics and computer science. The original poster is considering a book that focuses on C++ programming while applying physics concepts. They express concern that the recommended book contains a significant amount of basic C++ content, which may not be necessary for someone with programming experience in Java and Python. The poster is open to learning C++ through the physics application. Another suggestion made is "Physics for Game Developers," which aligns with their interest in basic graphic mechanics but does not teach C++. The conversation highlights the importance of selecting a resource that balances programming instruction with physics modeling.
Carnivroar
Messages
128
Reaction score
1
Can anyone recommend me a textbook that teaches you how to write simple physics models? I would like to take everything I learned this year in physics 1 and create a program for it since I'm also a comp sci major.

This is the best one I found so far but I'm not sure if it's exactly what I need.

https://www.amazon.com/dp/0521827787/?tag=pfamazon01-20

Any others?
 
Physics news on Phys.org
Do you have a programming language preference?

If you are also a computer science major and have experience programming, you may want to pick a book that skips basic programming concepts, and is more about general algorithms. For example, the book you linked to is nearly half about basic C++! That may be a waste of time if you have already had a basic programming course.
 
bcbwilla said:
Do you have a programming language preference?

If you are also a computer science major and have experience programming, you may want to pick a book that skips basic programming concepts, and is more about general algorithms. For example, the book you linked to is nearly half about basic C++! That may be a waste of time if you have already had a basic programming course.

Oops, I thought I had mentioned it - I'm looking for books in C++ specifically. I want to learn C++ while practicing physics - 2 birds 1 stone o:). I know nothing of C++, only Java and Python. So if what you say is true (that half of the book is a tutorial on C++), that doesn't sound like a bad idea at all. Do you have the book?

Someone recommended me Physics for Game Developers. It looks pretty good too, just what I wanted (basic graphic mechanics), but apparently it doesn't actually teach C++.
 
The book is fascinating. If your education includes a typical math degree curriculum, with Lebesgue integration, functional analysis, etc, it teaches QFT with only a passing acquaintance of ordinary QM you would get at HS. However, I would read Lenny Susskind's book on QM first. Purchased a copy straight away, but it will not arrive until the end of December; however, Scribd has a PDF I am now studying. The first part introduces distribution theory (and other related concepts), which...
I've gone through the Standard turbulence textbooks such as Pope's Turbulent Flows and Wilcox' Turbulent modelling for CFD which mostly Covers RANS and the closure models. I want to jump more into DNS but most of the work i've been able to come across is too "practical" and not much explanation of the theory behind it. I wonder if there is a book that takes a theoretical approach to Turbulence starting from the full Navier Stokes Equations and developing from there, instead of jumping from...

Similar threads

Replies
1
Views
3K
Replies
2
Views
2K
Replies
13
Views
2K
Replies
7
Views
4K
Replies
12
Views
3K
Replies
3
Views
2K
Replies
11
Views
4K
Replies
3
Views
2K
Back
Top