Nonlinear Differential Equation Solving
46 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Sam Chak
2022-6-14
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:
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Systems of Nonlinear Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!