How can i solve equation but adding a constant (d^2u/dt^2)+4*(du/dt)-(3*u)+5=0)
1 回表示 (過去 30 日間)
古いコメントを表示
i attached the code , but can i make a modification to solve this equation
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/198528/image.png)
0 件のコメント
採用された回答
James Tursa
2018 年 12 月 7 日
編集済み: James Tursa
2018 年 12 月 8 日
The general solution is the homogeneous solution (to the "= 0" equation) which you already have plus any particular specific solution to your actual equation (with the "+5" part). One specific solution to your actual equation is obviously just u = 5/3 (i.e., u is the constant 5/3). So just add 5/3 to your homogeneous solution to get the general solution.
For the comment you posted to Star's thread, a particular solution is again just y = -beta/alpha (i.e., y is the constant -beta/alpha). So just add this to the homogeneous solution (i.e., the solution you get by setting beta = 0).
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!