Physics Stack Exchange is a question and answer site for active researchers, academics and students of physics. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Are there any libraries available for solving problems at the level of college physics?

In particular, I'm interested in libraries for general purpose programming languages that can calculate results both numerically and symbolically.

Libraries which could be used for implementing something like this are SymPy (Python), GiNaC (C++), or SymbolicC++ (C++).

I'm asking this question because I've started cooking up a C# library for symbolic computation and have used it to solve a few projectile motion problems, but would like to review other work out there.

Here's an example of a program which solves such a problem.

Here's what the program outputs when run:


Any pointers or suggestions welcome. Thanks!

share|cite|improve this question

closed as not constructive by dmckee Mar 9 '13 at 23:21

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

Are you aware of Mathematica and WolframAlpha? – Cheeku Mar 9 '13 at 23:07
We don't actually handle computational questions here. The Scientific Computation site does that, but I think this would be classed as a "shopping questions" and closed there too. – dmckee Mar 9 '13 at 23:19
I'm sure that many people with thought will be willing to post suggestions to chat. – dmckee Mar 9 '13 at 23:20
That this is off topic is simply incomprehensible to me. Computation is one of the three "legs" upon which ALL of contemporary physics rests, the other two being theory and experiment. Computation must be considered on topic. This site has some rather silly and random conceptions of "off topic." – user11266 Mar 10 '13 at 17:15