Programming for research physics

AI Thread Summary
Knowing a programming language is essential for applying to Research Experiences for Undergraduates (REUs), with popular choices including C++, Python, C, and Java. Many recommend starting with online resources rather than traditional books, as they provide ample information for learning any language. Skills acquired in one programming language are transferable to others. Additionally, studying numerical analysis is beneficial, as it aligns with common tasks in REUs, such as working with numerical data or maintaining equipment. Recommended resources for numerical analysis include "Numerical Recipes" in various programming languages. Legacy code in FORTRAN is still prevalent, and Python and Java are often used to support existing FORTRAN or C++ programs.
Sjm757
Messages
26
Reaction score
0
I'm applying for some REU's later on this year and I'm wondering whether knowing a programming language is necessary, and if so what book(s) I should get to learn. Also if anyone else has done an REU, is there any other skills or outside school actives I could do to increase my chances of being selected?
 
Physics news on Phys.org
Sjm757 said:
I'm applying for some REU's later on this year and I'm wondering whether knowing a programming language is necessary, and if so what book(s) I should get to learn. Also if anyone else has done an REU, is there any other skills or outside school actives I could do to increase my chances of being selected?

Programming skills will be huge with a doubt. You don't even need a book to start, there are countless websites that have information for every language out there. Pick a language and start. The skills you acquire from one language will transfer to another. Any of these will work: C++, Python, C, or Java. I would recommend studying numerical analysis along with a language because I would guess if you do end up getting a REU you'd be doing something along these lines.. Or maintaining the broken down equipment.
 
Any recommendations for an numerical analysis book?
 
Look at Numerical Recipes in C/C++/Java/Whatever
 
Some still program in FORTRAN, now F95 or F2003, or C++.

There is still a lot of legacy code in F77 and F90.

Python scripts and Java are often used for supporting programs to FORTRAN or C++ executables.
 
Hey, I am Andreas from Germany. I am currently 35 years old and I want to relearn math and physics. This is not one of these regular questions when it comes to this matter. So... I am very realistic about it. I know that there are severe contraints when it comes to selfstudy compared to a regular school and/or university (structure, peers, teachers, learning groups, tests, access to papers and so on) . I will never get a job in this field and I will never be taken serious by "real"...
Yesterday, 9/5/2025, when I was surfing, I found an article The Schwarzschild solution contains three problems, which can be easily solved - Journal of King Saud University - Science ABUNDANCE ESTIMATION IN AN ARID ENVIRONMENT https://jksus.org/the-schwarzschild-solution-contains-three-problems-which-can-be-easily-solved/ that has the derivation of a line element as a corrected version of the Schwarzschild solution to Einstein’s field equation. This article's date received is 2022-11-15...

Similar threads

Replies
4
Views
2K
Replies
3
Views
2K
Replies
9
Views
2K
Replies
4
Views
3K
Replies
16
Views
1K
Back
Top