2nd order nonlinear ode

9 次查看(过去 30 天)
Iswan
Iswan 2015-10-29
评论: Star Strider 2015-10-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

采纳的回答

Star Strider
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 个评论
Iswan Pradiptya
Iswan Pradiptya 2015-10-30
the result is not convergence ,..
Star Strider
Star Strider 2015-10-30
Correct. The system is unstable. I suspect you are supposed to design a controller for it.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by