Need help to solve nonlinear ode in matlab
古いコメントを表示
u''-2Ru'*u''+T=0 with boundary conditions u(0)=0 and u(1)=0 and u=u(x). R and T are constant. i have to change value of R in range 0.1 to 0.8.
assume T=1.
is it possible to get numerical solution to this non-linear ODE?
i also need assistance to plot the graph of u vs x.
採用された回答
その他の回答 (1 件)
Torsten
2022 年 3 月 6 日
Write your equation as
u'' = -T/(1-2*R*u'),
substitute u1 = u and u2 = u' to arrive at the system
u1' = u2
u2' = -T/(1-2*R*u2)
with boundary conditions
u1(0) = u1(1) = 0
and use bvp4c to solve.
カテゴリ
ヘルプ センター および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
