solving coupled system of second order differential equations
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
aakash dewangan
am 25 Mai 2021
Kommentiert: aakash dewangan
am 30 Mai 2021
Hello everyone,
I want to solve a "second order coupled ordinary differential equation". I searched a lot but could not find the solution.
Please suggest me how can I solve this.
The structure of my equation is given below,
[M]{x''} + [K]{x} = {F}
where [M], [K] are the matrices, which contain time dependent terms.
{x} vector of unknown dependent variables.
{x''} is the second derivative of the vector {x} with respect to time.
Please note that [M], [K] contains time varying terms
Looking forward for your the response.
Thanks for your time..
4 Kommentare
Paul
am 28 Mai 2021
Do you have a simple example for M, K, and F? Preferably one that you know what that solution should be?
Akzeptierte Antwort
Sulaymon Eshkabilov
am 25 Mai 2021
Hi,
You can employ ode solvers (ode23, ode23tb, ode45, ode113, etc) as suggested or write scripts using function handles or anonymous functions by apply Euler or Runge-Kutta methods.
2 Kommentare
Sulaymon Eshkabilov
am 28 Mai 2021
Should you need to obtain an analytical solution, then dsolve() of Symbolic MATH toolbox needs to be employed. E..g.:
syms x(t) Dx(t) DDx(t)
Dx = diff(x, t);
DDx = diff(Dx, t);
M = [??];
K = [??];
EQN = DDx==inv(M)*(F-K*x);
SOL = dsolve(EQN, x(0)==??, Dx(0)==??)
Good luck
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!