How to solve a second order differential equation using ODE45?

12 visualizaciones (últimos 30 días)
Molly Jenkins
Molly Jenkins el 8 de En. de 2020
Comentada: Molly Jenkins el 8 de En. de 2020
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

Respuestas (1)

Steven Lord
Steven Lord el 8 de En. de 2020
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.

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by