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:
댓글 수: 2
Sam Chak
2022년 6월 14일
syms y(t) A B C D
eqn = A*diff(y,t,2) - B*y + C == D;
ySol(t) = dsolve(eqn)
추가 답변 (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!