solve_ode
Solve ordinary differential equations of any order and obtain the general solution with arbitrary constants.
Instructions
Solve an ordinary differential equation of any order, returning the general solution with arbitrary constants. Prefer this over evaluate_sage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Named workspace to use. Workspaces have independent variables; omit for 'default'. | default |
| equation | Yes | ODE string, e.g., "diff(y(x),x) + y(x) = 0" | |
| function | No | Dependent function name (e.g., 'y') | y |
| variable | No | Independent variable (e.g., 'x') | x |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||