MATLAB Answers

0

ode45 with two 2nd order differential equation

Asked by Xianlin Su on 11 May 2019
Latest activity Answered by Steven Lord
on 11 May 2019
1.PNG
Here I have two differential equations and I want to solve it using ode45
2.PNG
I am asked to convert the two 2nd order equations to 4 first-order equations which are suitable for ode45.

  0 Comments

Sign in to comment.

2 Answers

Answer by Stephan
on 11 May 2019

  0 Comments

Sign in to comment.


Answer by Steven Lord
on 11 May 2019

See the Higher-Order ODEs example on this documentation page and use the technique it illustrates to turn your system of two second order ODEs into a system of four first order ODEs.

  0 Comments

Sign in to comment.