How to solve a system of ODEs involving integral constraints using BVP4C in MATLAB 7.11 (R2010b)?

7 ビュー (過去 30 日間)
Prabhakar
Prabhakar 2011 年 1 月 18 日
コメント済み: sai manikiran 2021 年 9 月 27 日
I am trying to solve a system of ODEs with associated boundary conditions and integral constraints. How to incorporatethe integral constraints into BVP4C?

回答 (1 件)

Yuki
Yuki 2011 年 1 月 18 日
There is no direct mechanism to incorporate integral constraints using BVP4C. A work around is to convert the integral constraints into differential constraints by introducing additional states. For example, consider the following problem:
Solve: x_1’ = x_2x_2’ = 1 Subject to the boundary constraints : x_1(0)=0 [integral(x_2^2) from 0 to 1] = 5.
To solve this problem, introduce an additional state x_3 such that, x_3’ = x_2^2 with boundary conditions: x_3(0)=0 x_3(1)=5.
Now you can use BVP4C to solve the following system of 3 ODEs with 3 boundary conditions: x_1’ = x_2 x_2’ = 1 x_3’=x_2^2 x_1(0)=0 x_3(0)=0 x_3(1)=5
  2 件のコメント
Taswald Moodley
Taswald Moodley 2019 年 11 月 19 日
Please can you post the actual code needed to perform your example given. I am struggling with a similiar example involving an integral boundary condition and would appreciate it seeing the code.
sai manikiran
sai manikiran 2021 年 9 月 27 日
Could you please share an example code with integral boundary condition?

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

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by