Matlab code for 2nd order differential equations

(d^2 u(x))/〖dx〗^2 =(γu(x))/(1+αu(x))
(d^2 v(x))/〖dx〗^2 =y〖∆v〗^* (dv(x))/dx-2/ε (γu(x))/((1+αu(x)))
at x=0,u=1,v=0
at x=1,du/dx=0,dv/dx=0
ε=1,α=0.001,y=20,〖∆v〗^*=0.1,γ=1,2.5,5,10,100
How to write matlab code for 2nd order differentials and plots between u vs x, v vs x

2 件のコメント

Walter Roberson
Walter Roberson 2023 年 8 月 31 日
Do you have access to the Symbolic Toolbox? If you do then I suggest that you read the documentation for odeFunction
KARUNA BOPPENA
KARUNA BOPPENA 2023 年 8 月 31 日
Yes, Thank you for your response

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

回答 (1 件)

Sam Chak
Sam Chak 2023 年 8 月 31 日

1 投票

Which textbook are you referring to for this problem? This appears to be a boundary value problem.
The solution of interest is to be determined by both the boundary conditions
and the gamma parameter γ.
You can find some examples in this bvp4c() documentation:

1 件のコメント

KARUNA BOPPENA
KARUNA BOPPENA 2023 年 8 月 31 日
Thank you so much for your suggestions

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

カテゴリ

製品

リリース

R2023a

質問済み:

2023 年 8 月 31 日

コメント済み:

2023 年 8 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by