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)
You can do calculations using Matlab/Octave syntax using the jMathLab shell (i.e. without the direct Java calls). Read this section: