integral_comparar
Compare rectangle, trapezoid, Simpson 1/3, and Simpson 3/8 on the same integral, returning per-method results and success flags.
Instructions
Compare rectangle, trapezoid, Simpson 1/3 and Simpson 3/8 on the same integral.
Args: func_str: Math expression in x. a, b: Integration limits (b > a). n: Number of subintervals (Simpson 1/3 needs even, 3/8 needs multiple of 3). epsilon, precision: Error-bound and rounding settings.
Returns: Dict with per-method results and success flags.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| n | Yes | ||
| epsilon | No | ||
| func_str | Yes | ||
| precision | No |