How to solve a second order differential equation using ODE45?
Ältere Kommentare anzeigen
Hi,
I need to solve a second ordder differential equation, i know that usually i would use reduction of order but as i also have a first order term in my equation i do not know how to do this.
my equation is:
350y''+45y'+y=-9/8000*t
thanks
Antworten (1)
Steven Lord
am 8 Jan. 2020
0 Stimmen
Take a look at the van der Pol equation example on this documentation page. That ODE looks very similar to yours, though the way it's written initially in the example uses the variable name y1 instead of y.
The expression for y2' (which is y1'') is a function of both y1 and y2 (which is y1'). You can use the same approach for your equation.
1 Kommentar
Molly Jenkins
am 8 Jan. 2020
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!