Module integrate
compute
Integrate a function f from a to b using the Romberg method, stopping after either sequential estimates are less than eps or n steps have been taken.
f
a
b
eps
n
Integrate a function f from a to b using the trapezoid rule with n partitions.