What problem does it solve?
This Skill tackles the complex task of solving ordinary differential equations (ODEs), which are fundamental to modeling dynamic systems in engineering and science, by providing both analytical and numerical solution methods.
Core Features & Use Cases
- Analytical Solutions: Solves first-order linear and separable ODEs, second-order linear ODEs with constant coefficients (including homogeneous and non-homogeneous cases via undetermined coefficients and variation of parameters), and systems of ODEs using eigenvalue methods.
- Laplace Transforms: Facilitates solving ODEs by transforming them into algebraic equations in the s-domain and then transforming the solution back to the time domain.
- Numerical Methods: Implements Euler's method and the more accurate 4th-order Runge-Kutta (RK4) method for approximating solutions when analytical methods are intractable or for verification.
- Phase Plane Analysis: Classifies equilibrium points for 2D linear systems to understand system behavior (nodes, spirals, saddles).
- Use Case: A chemical engineer needs to model a reactor's temperature dynamics, which is governed by a second-order ODE. They can use this Skill to find an analytical solution or use RK4 to simulate the temperature profile over time given specific initial conditions and forcing functions.
Quick Start
Use the diff-equations skill to solve the ODE y'' + 4*y = sin(t) with initial conditions y(0)=0 and y'(0)=1.