2nd order nonlinear ode
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Iswan
el 29 de Oct. de 2015
Comentada: Star Strider
el 30 de Oct. de 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
0 comentarios
Respuesta aceptada
Star Strider
el 29 de Oct. de 2015
Editada: Star Strider
el 29 de Oct. de 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 comentarios
Star Strider
el 30 de Oct. de 2015
Correct. The system is unstable. I suspect you are supposed to design a controller for it.
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!