Nonlinear Differential Equation Solving
30 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nuri Efe TATLI
el 14 de Jun. de 2022
Comentada: Sam Chak
el 14 de Jun. de 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 comentarios
Respuesta aceptada
Sam Chak
el 14 de Jun. de 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 comentarios
Sam Chak
el 14 de Jun. de 2022
syms y(t) A B C D
eqn = A*diff(y,t,2) - B*y + C == D;
ySol(t) = dsolve(eqn)
Más respuestas (0)
Ver también
Categorías
Más información sobre Ordinary Differential Equations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!