Numerical solution of ODE

1 次查看(过去 30 天)
Sandip
Sandip 2013-8-8
Hi: I have a second order ODE of the form:
A(x) y''(x) + B(x) y'(x) + C(x)=0
with Boundary Conditions
y(x=0)=0 y'(x=a)=k
How can I numerically solve this equation in MATLAB. I appreciate suggestions. Thanks in advance,

回答(1 个)

Friedrich
Friedrich 2013-8-8
Hi,
take a look at that post. This has a link in it to a PDF which explains everything and it also has an example in it.
  2 个评论
Jan
Jan 2013-8-8
[Relocated from answers section, Jan] Sandip wrote:
Thanks for the reply. In the examples, the BCs are both at x=0 for y & y' (IVP) and x=0 and x=a for y(x) (BVP). However, I have x=0 for y(x) and x=a for y'(a). I am confused about applying BCs.
Jan
Jan 2013-8-8
[Relocated from comment section from relocated answer, Jan] Friedrich wrote:
See chapter 4 in the linked PDF

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by