americanOption.setPricingEngine(new JuQuadraticApproximationEngine(bsmProcess));
System.out.printf(fmt, method, Double.NaN, Double.NaN, americanOption.NPV() );
// Integral
method = "Integral";
europeanOption.setPricingEngine(new IntegralEngine(bsmProcess));
System.out.printf(fmt, method, europeanOption.NPV(), Double.NaN, Double.NaN );
int timeSteps = 801;
// Binomial method