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!
