Set of ODEs with an additional condition

3 vues (au cours des 30 derniers jours)
Ghazwan
Ghazwan le 23 Oct 2016
Hello, Let's say we have the following system of equations: x'=x+sin(y) y'=y+x And we know the boundary conditions. Also, we have the following condition that must be met in the solution of the two equations: log(x)+exp(x)-2*sin(y^2)=0 Is there an official title for this kind of problems? How to solve this system? Thank you!

Réponse acceptée

J. Alex Lee
J. Alex Lee le 26 Oct 2016
I think this is a differential algebraic equation (DAE)?
Documentation for ode15s might help.

Plus de réponses (1)

Torsten
Torsten le 28 Oct 2016
The two differential equations uniquely determine x and y. So you can't expect the algebraic relationship
log(x)+exp(x)-2*sin(y^2)=0
to be satisfied for the solution of the two differential equations
x'=x+sin(y) , y'=y+x.
Best wishes
Torsten.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by