How to solve a second order differential equation using ODE45?
이전 댓글 표시
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
답변 (1개)
Steven Lord
2020년 1월 8일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!