symbolic.diff
Compute nth-order symbolic derivatives of expressions with SymPy, optionally substitute variable values to return a 50-digit decimal result at that point.
Instructions
sympy 로 n차 기호 도함수를 구하고, variables 로 값을 치환하면 그 지점의 수치를 Decimal 문자열(50자리)로 함께 반환한다. var 는 미분 변수, order 는 1~20(기본 1). variables 가 없거나 치환 후에도 기호가 남거나 numeric_eval=false 이면 numeric 은 null 이다. 연산은 5초로 제한되며 sympy extra 가 필요하다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| var | Yes | ||
| order | No | ||
| variables | No | ||
| expression | Yes | ||
| numeric_eval | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| numeric | Yes | ||
| derivative | Yes |