Ch 8.4- Multistep Methods.ppt
《Ch 8.4- Multistep Methods.ppt》由会员分享,可在线阅读,更多相关《Ch 8.4- Multistep Methods.ppt(22页珍藏版)》请在麦多课文档分享上搜索。
1、Ch 8.4: Multistep Methods,Consider the initial value problem y = f (t, y), y(t0) = y0, with solution (t). So far we have studied numerical methods in which data at the point tn is used to approximate (tn+1). Such methods are called one-step methods. Multistep methods use previously obtained approxim
2、ations of (t) to find the next approximation of (t). That is, the approximations y1, , yn at t1, , tn, respectively, may be used to find yn+1 at tn+1. In this section we discuss two types of multistep methods: Adams methods and backward differentiation formulas. For simplicity, we will assume the st
3、ep size h is constant.,Adams Methods,Recall thatThe basic idea of an Adams method is to approximate (t) in the above integral by a polynomial Pk(t) of degree k. The coefficients of Pk(t) are determined by using the k +1 previously calculated data points. For example, for P1(t) = At + B, we use (tn-1
4、, yn-1) and (tn, yn), with P1(tn-1) = f (tn-1, yn-1) = fn-1 and P1(tn) = f (tn, yn) = fn. Then,Second Order Adams-Bashforth Formula,From the discussion on the previous slide, it follows thatevaluates toAfter simplifying, we obtain This equation is the second order Adams-Bashforth formula. It is an e
5、xplicit formula for yn+1 in terms of yn and yn-1, and has local truncation error proportional to h3. We note that when a constant polynomial P0(t) = A is used, the first order Adams-Bashforth formula is just Eulers formula,Fourth Order Adams-Bashforth Formula,More accurate Adams formulas can be obta
6、ined by using a higher degree polynomial Pk(t) and more data points. For example, the coefficients of a 3rd degree polynomial P3(t) are found using (tn, yn), (tn-1, yn-1), (tn-2, yn-2), (tn-3, yn-3). As before, P3(t) then replaces (t) in the integral equationto obtain the fourth order Adams-Bashfort
7、h formula The local truncation error of this method is proportional to h5.,Second Order Adams-Moulton Formula,A variation on the Adams-Bashforth formulas gives another set of formulas called the Adams-Moulton formulas. We begin with the second order case, and use a first degree polynomial Q1(t) = t
8、+ to approximate (t). To determine and , we now use (tn, yn) and (tn+1, yn+1): As before, Q1(t) replaces (t) in the integral equation to obtain the second order Adams-Moulton formula Note that this equation implicitly defines yn+1. The local truncation error of this method is proportional to h3.,Fou
9、rth Order Adams-Moulton Formula,When a constant polynomial Q0(t) = is used, the first order Adams-Moulton formula is just the backwards Euler formula. More accurate higher order formulas can be obtained using a polynomial of higher degree. For example, the fourth order Adams-Moulton formula isThe lo
10、cal truncation error of this method is proportional to h5.,Comparison of Methods,The Adams-Bashforth and Adams-Moulton formulas both have local truncation errors proportional to the same power of h, but moderate order Adams-Moulton formulas are more accurate. For example, for the fourth order method
11、s, the proportionality constant on h5 for the Adams-Moulton formula is less than 1/10 that of the Adams-Bashforth formula. The Adams-Bashforth formula explicitly defines yn+1 and thus is faster than the more accurate Adams-Moulton formula, which implicitly defines yn+1. Which method to use depends o
12、n whether, by using the more accurate method, the step size can be increased to reduce the number of computations required. A predictor-corrector method combines both approaches.,Predictor-Corrector Method,Consider the fourth order Adams-Bashforth and Adams-Moulton formulas, respectively: Once yn-3,
13、 yn-2, yn-1, yn are known, we compute fn-3, fn-2, fn-1, fn and use Adams-Bashforth formula (predictor) to obtain yn+1. We then compute fn+1, and use the Adams-Bashforth formula (corrector) to obtain an improved value of yn+1. We can continue to use corrector formula if the change in yn+1 is too larg
14、e. However, if it is necessary to use the corrector formula more than once or perhaps twice, the step size h is likely too large and should be reduced.,Starting Values for Multistep Methods,In order to use any of the multistep methods, it is necessary to first to calculate a few yk by some other met
15、hod. For example, the fourth order Adams-Moulton method requires values for y1 and y2, while the fourth order Adams-Bashforth method also requires a value for y3. One way to proceed is to use a one-step method of comparable order to calculate the necessary starting values. For example, for a fourth
16、order multistep method, use a fourth order Runge-Kutta method to calculate the starting values. Another approach is to use a low order method with a very small h to calculate y1, and then to increase gradually both the order and step size until enough starting values are obtained.,Example 1: Initial
17、 Value Problem (1 of 6),Recall our initial value problem With a step size of h = 0.1, we will use the methods of this section to approximate the solution solution (t) at t = 0.4. We use the Runge-Kutta method to find y1, y2 and y3. These values are given in Table 8.3.1. The corresponding values for
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CH84MULTISTEPMETHODSPPT
