
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

MATH 572 Numerical Methods for Scientific Computing II Winter 2005
hw#2 due : Tuesday , February 8
a) Assume that λ is a negative real number. Show that hλ is contained in the region of absolute stability if and only if − 2 ≤ hλ ≤ 0.
b) Show that no imaginary value of hλ is contained in the region of absolute stability.
y 1 y 2
y 1 y 2
y 1 y 2
0
a) Find an analytic expression for the exact solution of the problem and also for the numerical solutions given by the forward Euler and backward Euler methods. In each case show analytically that limh→ 0 u 1 ,n = y 1 ,n at a fixed time t = tn = nh.
b) Compute the numerical solution for 0 ≤ t ≤ 2 using forward Euler and backward Euler with step size h = 0. 11 , 0. 10 , 0 .09. In each case plot the first component of the exact solution y 1 (t) and the numerical solution u 1 ,n vs. time. Display the results as in the class handout (use the subplot command in Matlab). Discuss the results. Which cases are absolutely stable and which are not absolutely stable?
un+1 = un + h
γ 0 fn + γ 1 ∇fn + γ 2 ∇^2 fn + γ 3 ∇^3 fn
un+1 = un + h
β 0 fn + β 1 fn− 1 + β 2 fn− 2 + β 3 fn− 3
b) Find the coefficients γ i∗ , β i∗ in the 3-step Adams-Moulton method,
un+1 = un + h
γ∗− 1 fn+1 + γ 0 ∗ ∇fn+1 + γ 1 ∗ ∇^2 fn+1 + γ 2 ∗ ∇^3 fn+
un+1 = un + h
β−∗ 1 fn+1 + β 0 ∗ fn + β 1 ∗ fn− 1 + β 2 ∗ fn− 2
c) Find the local truncation error for each method. Which method is more accurate?