taylor_expand
Approximate exp, sin, cos, ln(1+x), and atan(x) at a specified point using a Taylor series with configurable term count.
Instructions
Taylor series approximation for exp, sin, cos, ln(1+x), and atan(x).
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": {
"function": "<function>",
"x": "<x>"
},
"name": "taylor_expand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Point to evaluate at. | |
| terms | No | Number of terms (default 10, max 50). | |
| function | Yes | Function: exp, sin, cos, ln1p, or atan. |