Compute the definite integral of a function.
Function f(x)
f(x)
The miminum integral bound
The maximum integral bound
The number of rectangles to compute
F(b)-F(a)
const y = SMath.integrate(x => 3 * x ** 2, 1, 2); // 7 Copy
const y = SMath.integrate(x => 3 * x ** 2, 1, 2); // 7
Compute the definite integral of a function.