MATLAB Answers

Set of ODEs with an additional condition

1 view (last 30 days)
Ghazwan
Ghazwan on 23 Oct 2016
Answered: Torsten on 28 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!

  0 Comments

Sign in to comment.

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.

  0 Comments

Sign in to comment.

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.

  0 Comments

Sign in to comment.

Products