# Set of ODEs with an additional condition

2 ビュー (過去 30 日間)
Ghazwan 2016 年 10 月 23 日

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!

サインインしてコメントする。

### 採用された回答

J. Alex Lee 2016 年 10 月 26 日
I think this is a differential algebraic equation (DAE)?
Documentation for ode15s might help.

サインインしてコメントする。

### その他の回答 (1 件)

Torsten 2016 年 10 月 28 日
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.

サインインしてコメントする。

### カテゴリ

Find more on Ordinary Differential Equations in Help Center and File Exchange

### Community Treasure Hunt

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

Start Hunting!