how to solve implicit second differential equation in matlab

回答(1 个)

Use ODE45 or BVP4C (depending on your boundary conditions) to solve the system
y1' = y2
y2' = (-Af(x)*y2-h(x))/(Bg(x))
Best wishes
Torsten.

2 个评论

i am getting dis error : function returns a vector of length 1, but the length of initial conditions vector is 2. The vector returned by MST and the initial conditions vector must have the same number of elements.
What's the code you are using ?
Best wishes
Torsten.

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息

提问:

2015-3-3

评论:

2015-3-3

Community Treasure Hunt

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

Start Hunting!

Translated by