// new
// SimpsonIntegrator();//
// new
// RombergIntegrator();
final double val = ri.integrate(10000000, new IntensityFunctionWrapper(
intensity), 0, lengthOfScenario);
System.out
.printf("%1d relative height: %1.3f%n", i, relHeight);
final double newAmpl = orders / val;
final SineIntensity finalIntensity = new SineIntensity(
newAmpl, freq, relHeight, newAmpl * min);
final double compensatedArea = ri.integrate(10000000,
new IntensityFunctionWrapper(
finalIntensity), 0, lengthOfScenario);
// System.out.printf("compensated area: %1.3f%n", compensatedArea);
final List<Double> sineTimes = FluentIterable
.from(