runge公司-kutta基本原理

Runge-Kutta Methods
In the forward Euler method, we used the information on the slope or the derivative of y
at the given time step to extrapolate the solution to the next time-step. The LTE for the
method is O(h2), resulting in a first order numerical technique. Runge-Kutta methods
are a class of methods which judiciously uses the information on the 'slope' at more than one point
to extrapolate the solution to the future time step. Let's discuss first the derivation of
the second order RK method where the LTE is O(h3).
Given the IVP of Eq. 6, and a time step h, and the solution yn at the nth time step,
let's say that we wish to compute yn+1 in the following fashion:
k1 = hf(yn,tn)
yn+1 = yn + ak1 + bk2,
where the constants ,
a and b have to be evaluated so that the
resulting method has a LTE O(h3). Note that if k2=0 and a=1, then Eq. 13 reduces
to the forward Euler method.
Now, let's write down the Taylor series expansion of y in the neighborhood of tn correct to
the h2 term i.e.,
However, we know from the IVP (Eq. 6)
= f(y,t) so that
So from the above analysis, i.e., Eqs. 14 and 15, we get
However, the term k2 in the proposed RK method of Eq. 13 can be expanded correct to O(h3) as
Now, substituting for k2 from Eq. 17 in Eq. 13, we get
Comparing the terms with identical coefficients in Eqs. 16 and 18 gives us the following system of equations to
determine the constants:
There are infinitely many choices of a, b,
which satisfy Eq. 19, we can choose for instance
and a=b=1/2. With this choice, we have the classical second order accurate Runge-Kutta
method (RK2) which is summarized as follows.
k1 = hf(yn,tn)
k2 = hf(yn+k1, tn + h)
In a similar fashion Runge-Kutta methods of higher order can be developed. One of the most widely used methods for the
solution of IVPs is the fourth order Runge-Kutta (RK4) technique. The LTE of this method is order h5.
The method is given below.
k1 = hf(yn,tn)
k2 = hf(yn+k1/2, tn + h/2)
k4 = h(yn+k3, tn + h)
yn+1 = yn + (k1 + 2k2 + 2k3 + k4)/6.
Note that the RK methods are explicit techniques, hence they are only conditionally stable.
Michael ZeltkevicRunge-kutta方法_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
Runge-kutta方法
上传于||暂无简介
阅读已结束,如果下载本文需要使用1下载券
想免费下载本文?
定制HR最喜欢的简历
下载文档到电脑,查找使用更方便
还剩2页未读,继续阅读
定制HR最喜欢的简历
你可能喜欢Runge-Kutta算法_图文_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
Runge-Kutta算法
上传于||暂无简介
大小:1.06MB
登录百度文库,专享文档复制特权,财富值每天免费拿!
你可能喜欢}

我要回帖

更多关于 runge公司 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信