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).
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. |