Compute definite and indefinite integrals of polynomial, trig, exponential and log terms.
Computes the definite integral ∫[a,b] f(x)dx numerically using composite Simpson's 1/3 rule. This provides O(h⁴) accuracy for smooth functions. Supports any expression the parser can evaluate. For indefinite integrals, the numerical value represents the net signed area from a to b.
Simpson's rule
∫[a,b] f(x)dx ≈ (h/3)[f(a) + 4f(a+h) + 2f(a+2h) + ... + f(b)]
For most smooth functions, 100-1000 subintervals give excellent accuracy. Increase for highly oscillatory functions.
Not directly — use the Improper Integral Calculator which handles infinite limits via adaptive truncation.