private double Integral(Expression exp, double n)
 {
     exp.setArgumentValue("n", n);
     return(exp.calculate());
 }