Using SymJa for symbolic calculations
Source code name: ""
Programming language: Python
Topic: Symbolic/Integration
DMelt Version 1.4. Last modified: 12/19/1970. License: Free
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 *


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