piecewiseLinearApproximation() how does not fail on exceptions thrown
     by integrate(); fallback=Newton-Cotes formula (degree 4)