2nd order nonlinear ode
11 ビュー (過去 30 日間)
古いコメントを表示
Hii guys, i need help my term project, please help me to solve this equation
6.6842e-11y'' + 3.4609e-06y' + 17.9194y = 4.3618e-18 / (1.1800e-06-y)^2
is it possible to use ode45, how to represent the function in state space?
Thank You so much best regards
0 件のコメント
採用された回答
Star Strider
2015 年 10 月 29 日
編集済み: Star Strider
2015 年 10 月 29 日
While I appreciate your confidence in me, I would not deprive you of the fun of evaluating this yourself. I will guide you through the analysis and setting up your ODE in terms ode45 will understand.
Your ODE is of the form:
c(1)*y" - c(2)*y' + c(3)*y = f(y)
that is actually straightforward to analyse. Since y"=(y')', your ODE can be expressed in three terms here, y(1) = y', y(2) = y(1)' = y", and y.
So we have:
y(1) = y(2)
y(2) = (f(y(1)) - c(3)*y(1) - c(2)*y(2))/c(1)
I have every confidence that you can take it from here. The documentation for ode45 will also help you.
If you have problems getting your code to work, post your ODE function and your ode45 call and related code, and I will help you troubleshoot it.
6 件のコメント
Star Strider
2015 年 10 月 30 日
Correct. The system is unstable. I suspect you are supposed to design a controller for it.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!