2nd order nonlinear ode

조회 수: 15 (최근 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