MATLAB Answers

second order deferential equation ode45

1 view (last 30 days)
Oday Shahadh
Oday Shahadh on 28 Oct 2019
Commented: Marco Feder on 30 Oct 2019
Hi,
Can any one please guid how to solve the below equation using ode45, knowing that C is constant
Regards
12345.JPG

  2 Comments

James Tursa
James Tursa on 28 Oct 2019
What have you done so far? What specific problems are you having with your code? Have you looked at the 2nd Order example in the ode45 doc?
Marco Feder
Marco Feder on 30 Oct 2019
Just write your equation as a first order system, so in the end you'll have , where and F the rhs. Then just look at ode45 documentation as suggested in the comment above

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!