{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# 75 we can construct an error estimate thus let 2 k 0

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: an use (5.7.12a) to calculate a new step size h such that jCk ( h)k+1y(k+1)(tn)j or, using (5.7.12c), jCk k! k+1 ra n k+1 j : Thus, 1=(k+1) jCk k!ran k+1j : (5.7.13a) Knowing that the local error of the next (higher-order) method of a sequence of methods is dn = Ck+1hk+2y(k+2)(tn) + O(hk+2) we can also calculate an approximation of y(k+2)(tn) that can be used to change orders. Using second-order backward di erences of the Nordsieck vector k+2 (k+2) r2an k+1 h y k! (tn) : 55 and dn Ck+1k!r2 an k+1: (5.7.13b) Estimates of the error of the next lower-order method follow directly from the next-tolast entry in the Nordsieck array. Thus, suppose that the error formula for the k ; 1-order method is dn = Ck;1hk y(k)(tn) + O(hk+1): Then, (cf. Example 5.7.5 and (5.7.12b)) k ;1 ( an k;1 = (kh; 1)! ynk;1) and dn Ck;1(k ; 1)!han k;1: (5.7.13c) Formulas (5.7.13b,c) can be used to increase or decrease the method order by one. These order variations can be combined with step-size variations to produce a LMM code capable of both step and order adjustments. Most LMM codes do this according to the following guidelines. 1. Start the code with a rst-order method. For the Adams methods, this would be the Euler-backward Euler pair. This avoids the need to incorporate separate one-step (Runge-Kutta) software in the code. 2. Change order before step size. Changing order is generally much more e cient than changing step size. Order increases and decreases in unit amounts can proceed ( ( ( by examining changes in the sequence of derivatives ynk;1), ynk), and ynk+1). These derivatives may be computed as described for (5.7.13). If the sequence of derivatives are decreasing in magnitude then computational reductions can be achieved by increasing the method order from k to k + 1. On the contrary, if the sequence of derivatives are increasing, a reduction of order may be appropriate. 3. Include heuristics to avoid increasing the order too often. One possibility is to do at least k steps with a method...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern