powered by
gauss_kronrod(f, a, b, ...)
quadQK15
quadgk
romberg
gauss_kronrod(sin, 0, pi) # 2.000000000000000 , rel.error: 1.14e-12 gauss_kronrod(exp, 0, 1) # 1.718281828459045 , rel.error: 0 # 1.718281828459045 , i.e. exp(1) - 1
Run the code above in your browser using DataLab