C/C++ Is Learning C++/Python for Computational Physics Worth It Over Mathematica?

AI Thread Summary
The discussion centers on the value of learning complex numerical methods in C++ or Python for solving partial differential equations and other applications in computational physics, compared to using software like Mathematica. While Mathematica is praised for its versatility and ease of use, especially for those who can afford it, alternatives like Python and Octave are mentioned as cost-effective options that also provide capabilities for both computer algebra and numerical analysis. Users recommend resources such as the book "Computational Methods for Physics" by Joel Franklin for those choosing Mathematica. Additionally, Maple is highlighted as a practical choice for individuals with access through workplace licenses. Overall, the consensus leans towards using specialized software for efficiency, particularly if budget constraints are not an issue.
zoltrix
Messages
85
Reaction score
7
hello

I am interested in computational physics at an amateur level
is it worth while learning complex numerical methods with C++ /Python to solve partial differential equations as well as for other physical applications while a software such as mathematica can do the job for you ?
 
Technology news on Phys.org
IMO, if there is a well-established, specialized language targeted at your application, it is easier to use. If cost is not a problem, use Mathematica.
 
FactChecker said:
If cost is not a problem, use Mathematica.
I second this. Mathematica is very versatile and you will be able to get much more out of it.

If you chose to go with Mathematica, I recommend the book Computational Methods for Physics by Joel Franklin.
 
  • Like
Likes aaroman, vanhees71 and FactChecker
I got Mathematica in 1995 and I continue to use it today for exploring physics.
 
  • Like
Likes DrClaude, vanhees71 and FactChecker
A less expensive alternative is Python. As Mathematica it provides both computer algebra and numerics.
 
  • Like
Likes aaroman and Dale
Octave is fun too, it is basically a free version of Matlab
 
  • Like
Likes aaroman, CalcNerd, FactChecker and 1 other person
For a very pragmatic reason, I use Maple. My employer has a site license, so I get for free the full version on my office desktop, and on my laptop. I have made extensive use of this both professionally and recreationally.
 

Similar threads

Replies
90
Views
536
Replies
1
Views
2K
Replies
17
Views
4K
Replies
13
Views
3K
Replies
6
Views
2K
Replies
3
Views
2K
Back
Top