What is a good programming language that I can learn for writing my own algorithms/scripts to manipulate equations? As an example, I would like to run the following script on an equation that looks like this:
I know I could just use WolframAlpha.com or WolframLanguage, but I think it's fun to solve problems from scratch without the use of the website.
- Isolate a square root term on the LHS.
- Square both sides of the equation.
- Add and subtract terms accordingly to get 0 on LHS.
- Isolate another square root term on the LHS. [ i.e. step 1) ]
- Repeat step 2).
- Repeat step 3).
- Repeat step 1).
ETC . . .
Note, I have tried Python, but sadly it's not the best because I can't square root polynomials (using numpy library, at least) and all sorts of other complications with variables and whatnot...
CodePudding user response:
What you are looking for is a branch of computer science that is called symbolic computation (a.k.a computer algebra). I have seen books about this topic in LISP, Mupad, Mathematica, etc. Here are some of the references: