如何用runge-kutta-fehlberg方法求解ODE系统? [英] How to solve a system of ODE by runge-kutta-fehlberg method?
问题描述
大家好,
我需要通过Runge-Kutta-Fehlberg方法求解常微分方程组(ODE)。我知道该算法仅使用ODE,其具有形式为y'= f(x,y)的函数。现在我想用ODE系统增强这个算法,[y1',y2',...,yn'] = [f1(x,y1,y2,... yn),f2(x,y1,y2) ,... yn),...,fn(x,y1,y2,... yn)]
怎么做?希望你支持我。谢谢。
我尝试了什么:
我试过这个用于ODE求解的算法。但不知道如何将其应用于ODE系统。
Hi everybody,
I need to solve a System of Ordinary Differential Equations (ODE) by Runge-Kutta-Fehlberg method. I know that algorithm only uses with an ODE which has a function with form y'=f(x,y). Now I want to enhance this algorithm with a system of ODE, [y1',y2',...,yn']=[f1(x,y1,y2,...yn),f2(x,y1,y2,...yn),...,fn(x,y1,y2,...yn)]
How to do this? Hope you support it to me. Thanks.
What I have tried:
I tried with this algorithm for an ODE solving. But not know how to apply it for a System of ODE.
推荐答案
通常 [ ^ ]。
这篇关于如何用runge-kutta-fehlberg方法求解ODE系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!