Need help to solve nonlinear ode in matlab
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (1)
Torsten
el 6 de Mzo. de 2022
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.
Categorías
Más información sobre Ordinary Differential Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
