need help writing the code to these equation using ode45
Mostrar comentarios más antiguos
HERE ARE MY 3 EQUATIONS AND BOUNDARY CONDITIONS BELOW


7 comentarios
Jan
el 7 de Mzo. de 2019
What have you tried so far? What kind of help do you need for which part of the solution?
Daniel Kubiat
el 7 de Mzo. de 2019
Jan
el 7 de Mzo. de 2019
How can we help you? Did you try anything to solve the problem by your own?
Daniel Kubiat
el 7 de Mzo. de 2019
Jan
el 7 de Mzo. de 2019
It is very likely that the forum will help you, when you show your own effort. Post the current version of the code and the produced error message, if there is one.
If you want others to solve your work, maybe hiring a professional programmer is a valid option. Many members of this forum do not like to be treated as cheap programming service.
Daniel Kubiat
el 8 de Mzo. de 2019
Editada: Jan
el 8 de Mzo. de 2019
Jan
el 8 de Mzo. de 2019
Please post a copy of the complete error message, because this helps to identify and solve the error. How do you call ode45?
Respuesta aceptada
Más respuestas (6)
Daniel Kubiat
el 9 de Mzo. de 2019
0 votos
2 comentarios
Daniel Kubiat
el 9 de Mzo. de 2019
darova
el 9 de Mzo. de 2019
you have to provide 7 initial conditions (you provided only 2)
y0(1) = ... % f
y0(2) = ... % f'
y0(3) = ... % f''
y0(4) = ... % theta
y0(5) = ... % theta'
y0(6) = ... % psi
y0(7) = ... % psi'
[t, y] = ode45(@kobieode, tspan, y0);
Daniel Kubiat
el 9 de Mzo. de 2019
Daniel Kubiat
el 9 de Mzo. de 2019
0 votos
Daniel Kubiat
el 9 de Mzo. de 2019
0 votos
1 comentario
darova
el 9 de Mzo. de 2019
First of all, look at your equations. What happens if all initial conditions are zeros?
[t y] = ode45(@kobieode,[0,20],y0);
Daniel Kubiat
el 9 de Mzo. de 2019
0 votos
Daniel Kubiat
el 9 de Mzo. de 2019
0 votos
2 comentarios
Jan
el 10 de Mzo. de 2019
Is ths problem solved now? If not, please post a copy of the code and of the error message (if there is one) as text, not as photo. Use the section for answers only for answers, not for comments, to reduce confusions.
Daniel Kubiat
el 14 de Mzo. de 2019
Categorías
Más información sobre Mathematics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




