Doubt in coding a systems of ODEs with bvp4

2 vues (au cours des 30 derniers jours)
T S Singh
T S Singh le 17 Déc 2017
Commenté : T S Singh le 18 Déc 2017
I have a coupled ODE in terms of two variables x and y, x''''=A*x+B*y+C*y''''; y''''=D*y+E*x+F*x''''; Given with 8 boundary conditions. How will I write the function to expressed the systems of coupled ODEs to use for 'bvp4' ??? As the some of the coupling terms contains the highest derivative of the two dependent variables (i.e. y'''' in equation of x and x'''' in the equation of y)???

Réponse acceptée

Torsten
Torsten le 18 Déc 2017
x''''=A*x+B*y+C*(D*y+E*x+F*x'''') -> x''''=((A+C*E)*x+(B+C*D)*y)/(1-C*F)
y''''=D*y+E*x+F*(A*x+B*y+C*y'''') -> y''''=((E+A*F)*x+(D+B*F)*y)/(1-C*F)
Best wishes
Torsten.
  1 commentaire
T S Singh
T S Singh le 18 Déc 2017
Thanks Torsten, How did I miss this :-)

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by