Using SymJa for symbolic calculations
Source code name: "symbolic_symja.py"
Programming language: Python
Topic: Symbolic/Integration
DMelt Version 1.4. Last modified: 12/19/1970. License: Free
https://datamelt.org/code/cache/symbolic_symja_1036.py
To run this script using the DataMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.


from jhplot.math   import *

s=Symbolic("symja")
util=s.getEngine()

result = util.evaluate("Expand[(AX^2+BX)^2]")
print result

result = util.evaluate("A=2;B=4")
print result

result = util.evaluate("Expand[(A*X^2+B*X)^2]")
print result

result = util.evaluate("Factor[-1+x^16]")
print result