integrate_simpson
Calculate definite integrals using Simpson's rule for numerical approximation with improved accuracy over basic methods.
Instructions
Calculate definite integral using Simpson's rule (more accurate than trapezoid) (Domain: calculus, Category: general)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"func": "<func>",
"a": "<a>",
"b": "<b>"
},
"name": "integrate_simpson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| func | Yes | ||
| a | Yes | ||
| b | Yes | ||
| n_steps | No |