Nonlinear Differential Equation Solving
29 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nuri Efe TATLI
am 14 Jun. 2022
Kommentiert: Sam Chak
am 14 Jun. 2022
Hello everyone.
I have a second order non-linear homogenous differential equation I want to solve.
Equation basicly is : A*y'' - B*y + C = D*cos(y)
How can i solve this? I am trying to acquire a solution in the form of y = ....
Note = y'' is second order derivative of y
0 Kommentare
Akzeptierte Antwort
Sam Chak
am 14 Jun. 2022
The analytical solution probably does not exist.
syms y(t) A B C D
eqn = A*diff(y,t,2) - B*y + C == D*cos(y);
ySol(t) = dsolve(eqn)
Try ode45 instead if the parameters {A, B, C, D} are known. See some examples here:
2 Kommentare
Sam Chak
am 14 Jun. 2022
syms y(t) A B C D
eqn = A*diff(y,t,2) - B*y + C == D;
ySol(t) = dsolve(eqn)
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!