ODE45/ODE15 inquiry about nonlinear spring
7 views (last 30 days)
Show older comments
Edited: haohaoxuexi1 on 30 Nov 2021
Is there anyone can help me on how to get an ODE45/ODE15 program to solve the above equation?
I want to get the value of y1 and y2.
Star Strider on 25 Nov 2021
Since the system appears to describe a differential-algebraic equation, see the documentation section on Solve Differential Algebraic Equations (DAEs) that describes how to set it up symbolically in order to use ode15i to integrate it numerically.
Star Strider on 26 Nov 2021
More Answers (1)
KSSV on 25 Nov 2021
You may refer the following links to understand what to do.
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!