Using Ode45 to solve differential equation with time dependent variable

조회 수: 1 (최근 30일)
Elif Doga Aycicek
Elif Doga Aycicek 2021년 5월 25일
답변: Aghamarsh Varanasi 2021년 5월 28일
Solve the differential equation in 30 steps up to the 15th minute, D2x+0.9*Dx+0.1*x=3*sin(t),initial conditions are x(0)=10 and Dx(0)=5.
  댓글 수: 1
James Tursa
James Tursa 2021년 5월 25일
What have you done so far? What specific problems are you having with your code?

댓글을 달려면 로그인하십시오.

답변 (1개)

Aghamarsh Varanasi
Aghamarsh Varanasi 2021년 5월 28일
Hi,
You can refer to this MathWorks documentation link to solve a Seconf-Order Differential equation.
Hope this helps

카테고리

Help CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by