/**
* @param args the command line arguments
*/
public static void main(String[] args) {
double x = Functions.integrate(new Exp(), 0, 1, 0.0000001);
System.out.println(x);
System.out.println("Non thread");
nonThread();
System.out.println("Simple");
simpleThreads();