MATLAB Answers

Ghazwan
0

Set of ODEs with an additional condition

Asked by Ghazwan
on 23 Oct 2016
Latest activity Answered by 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.

Products

2 Answers

Answer by J. Alex Lee on 26 Oct 2016
 Accepted Answer

I think this is a differential algebraic equation (DAE)?
Documentation for ode15s might help.

  0 Comments

Sign in to comment.


Answer by 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.