from java.awt import* 
from jhplot  import * 
from jhplot.math.exp4j import *

e=ExpressionBuilder("3 * sin(x) - 2 / (x - 2)")
e.variables("x")
f=e.build()

ff=F1D("Test",f,10,100)
print ff.eval(10);

c1 = HPlot()
c1.visible(1)
c1.setAutoRange()
c1.draw(ff)
