integral_simpson38
Approximate definite integrals with the composite Simpson 3/8 rule, providing numerical results, error estimates, and configurable precision.
Instructions
Approximate ∫ₐᵇ f(x) dx with the composite Simpson 3/8 rule.
Args: func_str: Math expression in x. a, b: Integration limits (b > a). n: Number of subintervals (must be a multiple of 3). epsilon: Optional point in [a, b] for the truncation error bound. precision: Rounding digits.
Returns: Dict with the integral, error estimates and table.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| n | Yes | ||
| epsilon | No | ||
| func_str | Yes | ||
| precision | No |