solving differential equation with integral coefficient

hi,
i want to solve this differential equation :
dQ=1-2Q*N1+20Q*N2-Q^2 Q(0.5)=0
that N1 & N2 is:
N1=exp(-int(Q(s)ds,t-0.1,t)).*(0.1<t<0.5)
N2=exp(-int(Q(s)ds,t-0.25,t)).*(0.25<t<0.5)

5 件のコメント

Karan Gill
Karan Gill 2017 年 2 月 13 日
Have you tried numerical solvers like ode45? You can represent the integral using the "integral" function.
Walter Roberson
Walter Roberson 2017 年 2 月 14 日
Is there a relationship between t and s ? Your differential equation has an implicit variable, and as well you have t as a free variable, and it is not clear if those are connected.
Torsten
Torsten 2017 年 2 月 14 日
You start your integration at t=0.5, but you need Q for 0 <= t <= 0.5 to evaluate your integrals.
How is Q defined for this time interval ?
Best wishes
Torsten.
Walter Roberson
Walter Roberson 2017 年 2 月 14 日
I do not see where the integration is started at t=0.5 ? I see Q(0.5)=0 as a boundary condition
Torsten
Torsten 2017 年 2 月 15 日
Usually the integration starts where the initial condition is set, but I might be wrong in this case.

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeNumerical Integration and Differential Equations についてさらに検索

質問済み:

2017 年 2 月 8 日

コメント済み:

2017 年 2 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by