Set of ODEs with an additional condition

3 views (last 30 days)
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!

Accepted Answer

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

More Answers (1)

Torsten
Torsten on 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.

Categories

Find more on Mathematics in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!