Using the Jasymca engine
You can call "Jasymca" engine within Java or Jython programs as:
>>> from jhplot.math import * >>> j=Symbolic("jasymca") # this sets the engine to "jasymca"
The calculations can be performed exactly as in the SymbolicShell, but using "eval()" function.
>>> s="syms x; trigrat(sin(x)^2+cos(x)^2)" >>> j.eval(s)
Read how to use Jasymca engine: JMathLabTutorial:Start