How to use Mathematica functions in Python programs?
A one line proof that one is zero using Mathematica 10
How to use Mathematica functions in Python programs? I'd like to know how can I call Mathematica functions from Python. I appreciate a example, for example, using the Mathematica function Prime. I had search about MathLink but how to use it in Python ...
- asked by GarouDan (28 votes), answered by GarouDan (10 votes)
A one line proof that one is zero using Mathematica 10 a = (Sqrt[2] + 1) (Sqrt[2] - 1) - 1; {a/a, Simplify[a]/a, b/b == Simplify[b]/b} {1, 0, True} This one line "proof" that one equals zero is disturbing (and could possibly lead to wrong results ...
- asked by Grégoire Nicollier (11 votes), answered by Szabolcs (24 votes)