Quantcast
  • Register
PhysicsOverflow is a next-generation academic platform for physicists and astronomers, including a community peer review system and a postgraduate-level discussion forum analogous to MathOverflow.

Welcome to PhysicsOverflow! PhysicsOverflow is an open platform for community peer review and graduate-level Physics discussion.

Please help promote PhysicsOverflow ads elsewhere if you like it.

News

PO is now at the Physics Department of Bielefeld University!

New printer friendly PO pages!

Migration to Bielefeld University was successful!

Please vote for this year's PhysicsOverflow ads!

Please do help out in categorising submissions. Submit a paper to PhysicsOverflow!

... see more

Tools for paper authors

Submit paper
Claim Paper Authorship

Tools for SE users

Search User
Reclaim SE Account
Request Account Merger
Nativise imported posts
Claim post (deleted users)
Import SE post

Users whose questions have been imported from Physics Stack Exchange, Theoretical Physics Stack Exchange, or any other Stack Exchange site are kindly requested to reclaim their account and not to register as a new user.

Public \(\beta\) tools

Report a bug with a feature
Request a new functionality
404 page design
Send feedback

Attributions

(propose a free ad)

Site Statistics

205 submissions , 163 unreviewed
5,082 questions , 2,232 unanswered
5,353 answers , 22,789 comments
1,470 users with positive rep
820 active unimported users
More ...

  Software for physics calculations

+ 7 like - 0 dislike
7326 views

What is some good free software for doing physics calculations?

I'm mainly interested in symbolic computation (something like Mathematica, but free).


This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user grizzly adam

asked Nov 4, 2010 in Resources and References by grizzly adam (0 points) [ revision history ]
recategorized Apr 24, 2014 by dimension10
Related question: Which software(s) handle units and unit conversion best?

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user sigoldberg1
Community wiki? (Also: sigoldberg1, can we have a link?)

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user David Z
@sigoldberg: Google Calculator can perform unit conversion.

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user KennyTM
Converted to community wiki, as this is the most appropriate question form here.

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user Noldorin

8 Answers

+ 8 like - 0 dislike

Some software I have used or has been recommended to me for physics-related work:

  • WolframAlpha -- when I don't have Maple around, I use it for simple symbolic calculations
  • Maxima -- free open source alternative to Maple/Mathematica
  • Sage -- quite an interesting open source symbolic/numerical package, you can try it online at sagenb.org
  • Scilab/GNU Octave -- alternatives to Matlab, best if you want to any numerical computations
  • R -- powerful programming language used for statistical analysis
  • OpenOffice Calc -- I'll put it here for completeness as Excel and its variants seem to be the software of choice for most experimental calculations.
This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user Flaviu Cipcigan
answered Nov 4, 2010 by Flaviu Cipcigan (0 points) [ no revision ]
Maxima has a units package, as do the commercial software systems.

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user sigoldberg1
Maybe throw Gnuplot into the mix? I love it for quick and easy plots of functions and data series, and when I then need something more polished I can very easily reuse the gnuplot code from other examples. Better than pointing and clicking to get results.

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user Lagerbaer
SymPy should also probably be added to this list.

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user Simon
+ 7 like - 0 dislike

It is probably worth your while to buy Mathematica, Maple, or Matlab, depending on your needs. I wish it weren't so, but this is one area in which the commercial tools are still vastly better than their free counterparts.

If you are a student, you can buy these at fairly afforable prices. Maple 14 Student Edition is only $99. Mathematica for Students is \$140, and Matlab/Simulink is \$99 for students. It is also possible that your school or department already has a site license, allowing you to obtain and use this software for no additional cost.

For symbolic calculations, you want either Mathematica or Maple, with Maple being more user-friendly, and Mathematica being more prevalent (in my experience) in actual research environments. Matlab's focus is on numerical calculations.

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user nibot
answered Nov 4, 2010 by nibot (35 points) [ no revision ]
Not to mention that your institution can probably provide you shared licences (licence server) of Mathematica or Matlab.

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user Cedric H.
+ 5 like - 0 dislike

Sage is a Python based system (including Numpy and Scipy) which includes a symbolic computation module.

From the Sage homepage:

Sage is a free open-source mathematics software system licensed under the GPL. It combines the power of many existing open-source packages into a common Python-based interface. Mission: Creating a viable free open source alternative to Magma, Maple, Mathematica and Matlab.

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user ihuston
answered Nov 4, 2010 by ihuston (25 points) [ no revision ]
Do you have any experience with it? If so, how does it compare in usefulness to Mathematica?

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user nibot
I tend to use Python with Numpy barebones as it were, without the Sage environment around it. I prefer the combination of interactive and scripting methodologies which I can use with Python rather than the notebook methodology of Mathematica. Sage (at least through the web interface) is more like Mathematica and does cover many of the things you might do in Mathematica. I do sometimes crank up Mathematica to plot a quick graph (Manipulate is a great exploratory tool) but tend to get aggravated by things I would know how to do easily in Python.

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user ihuston
If you are into Python, the combination of NumPy, SciPy and matplotlib will cover any need for numerical or scientific computing or graphing you may have. There also is a SymPy for symbolic calculations, but I have never used it. A friend of mine has his own open-source Python library for unit management: juanreyero.com/open/magnitude

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user Jaime
+ 5 like - 0 dislike

I've recently discovered Cadabra.

A field-theory motivated approach to computer algebra

I'm really impressed.

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user Kostya
answered Dec 26, 2010 by Kostya (320 points) [ no revision ]
didn't knew it, +1

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user lurscher
Cadabra uses many of the same index algorithms as the Mathematica package xAct. Although xAct is more focused on General Relativity calculations, while Cadabra is more field theory oriented.

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user Simon
+ 4 like - 0 dislike

I'd like to add that GNU Octave is a very good free alternative to Matlab.

Contrary to Scilab which does not aim at being compatible with Matlab, you can practically run your Matlab scripts with Octave with very few modifications (at least with their latest version).

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user Aabaz
answered Apr 3, 2011 by Aabaz (0 points) [ no revision ]
+ 2 like - 0 dislike

GiNaC is a c++ symbolic manipulation framework oriented to high-energy physics computations. It has a couple of interactive frontends, although its main usage is as part of the Root framework at CERN.

A derivative of GiNaC is Pynac, which forms the backend for symbolic expressions in Sage.

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user lurscher
answered Apr 3, 2011 by CharlesJQuarra (555 points) [ no revision ]
Can you provide links/descriptions of its frontends?

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user Simon
i think the most used is "gTybalt" wwwthep.physik.uni-mainz.de/~stefanw//gtybalt.html although i can't asess its usability because i've used ginac mostly as a library in my own code

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user lurscher
Thanks - I'll have a look at it. I spent some time playing with GiNaC about 1 year ago, but never really used it, since I couldn't justify learning it for my one off calculation. Instead, I took the computationally slow but familiar route of using Mathematica.

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user Simon
+ 2 like - 0 dislike

See also this list on wikipedia http://en.wikipedia.org/wiki/List_of_computer_algebra_systems. I think all of these systems have their uses for some calculations that can also come up in physics. Many of them are free, just choose the one that is appropriate for your purposes.

answered Apr 12, 2014 by UwF (90 points) [ revision history ]
edited Apr 12, 2014 by dimension10

Hi UwF, welcome to Physics Overflow! I have corrected a link in your post.  

Thanks!

+ 1 like - 0 dislike

I used this software in my energy transfer courses, I never used it for symbolic, so I don't know if you can do symbolic computation, however it is very good at solving equations. As well as for conversions. It is not free, however you can download a student version, which I used the whole semester without problems. It is called ees. The company I think is called f chart. I know it is not exactly what you asked for, however it's a useful software to have around, especially when working with a lot of equations, since the software actually warns you about any inconsistency in the units.

It is also useful if you want to calculate say for example entropy, the software can do it for you if you have the pressure or temperature.

http://www.mhhe.com/engcs/mech/ees/download.html http://www.fchart.com/ees/

This post imported from StackExchange Physics at 2014-04-03 11:46 (UCT), posted by SE-user Renegg
answered Jun 25, 2011 by Renegg (0 points) [ no revision ]

Your answer

Please use answers only to (at least partly) answer questions. To comment, discuss, or ask for clarification, leave a comment instead.
To mask links under text, please type your text, highlight it, and click the "link" button. You can then enter your link URL.
Please consult the FAQ for as to how to format your post.
This is the answer box; if you want to write a comment instead, please use the 'add comment' button.
Live preview (may slow down editor)   Preview
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
If you are a human please identify the position of the character covered by the symbol $\varnothing$ in the following word:
p$\hbar$ysicsOverfl$\varnothing$w
Then drag the red bullet below over the corresponding character of our banner. When you drop it there, the bullet changes to green (on slow internet connections after a few seconds).
Please complete the anti-spam verification




user contributions licensed under cc by-sa 3.0 with attribution required

Your rights
...