this class is written to calculate integral of function f(x) between x=a and x=b. this class also gets the diagram. for first time just run index.html with initiated values. Reza Salehi