MATLAB Answers

Using Ode45 to solve differential equation with time dependent variable

2 views (last 30 days)
Elif Doga Aycicek
Elif Doga Aycicek on 25 May 2021
Answered: Aghamarsh Varanasi on 28 May 2021
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 Comment
James Tursa
James Tursa on 25 May 2021
What have you done so far? What specific problems are you having with your code?

Sign in to comment.

Answers (1)

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

Tags

Community Treasure Hunt

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

Start Hunting!