Sebastiao Pereira uses Romberg’s method:
Romberg’s method is a powerful technique in numerical analysis to estimate the value of a definite integral, using the trapezoidal rule logical and applying the Richardson extrapolation to significantly improved accuracy. Is it possible to have this method in SQL Server without using external tools?
Click through for the fun.