2nd order nonlinear ode

9 views (last 30 days)
Iswan
Iswan on 29 Oct 2015
Commented: Star Strider on 30 Oct 2015
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

Accepted Answer

Star Strider
Star Strider on 29 Oct 2015
Edited: Star Strider on 29 Oct 2015
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 Comments
Iswan Pradiptya
Iswan Pradiptya on 30 Oct 2015
the result is not convergence ,..
Star Strider
Star Strider on 30 Oct 2015
Correct. The system is unstable. I suspect you are supposed to design a controller for it.

Sign in to comment.

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!