






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 4820
Due: Monday, 2/22/
(i) A =
[ − 4 1 2 − 3
] , (ii) A =
[ − 1 5 − 2 − 3
]
(a) For each system, find the largest value of the step size h such that the Euler’s method is absolutely stable.
(b) Repeat part (a) for the explicit midpoint method.
wn = wn− 1 +
h 2 [f (tn− 1 , wn− 1 ) + f (tn, wn)]
(a) Apply the trapezoidal method to the test equation y′^ = λy to show that
wn =
( (^) 1 + hλ/ 2 1 − hλ/ 2
) wn− 1
(b) Show that the trapezoidal method is A-stable.
d dt s(t) = −s + (s + 1) c s(0) = 1
d dt
c(t) = s − (s + 2) c c(0) = 0
where is a positive constant. This IVP arises as a model of a biochemical system. Let us take = .02, and consider the interval 0 ≤ t ≤ 1. Note that for small values of this is a stiff problem. There is an initial layer on the time scale t ∼ O() whose solution satisfies
d dt
c(t) = s − (s + 2) c, c(0) = 0, with s = 1 (1)
to a first approximation, and an “outer” solution on an O(1) time scale determined by the equations
d dt
s(t) = −s + (s + 1) c, s(0) = 1, with s − (s + 2) c = 0. (2)
(a) Solve equations (1) and (2) to find c(t) and s(t) in the initial layer and outer region, respectively.
(b) The backward Euler method for this IVP is
sn = sn− 1 − h [sn − (sn + 1) cn] s 0 = 1
cn = cn− 1 + h
[sn − (sn + 2) cn] c 0 = 0
Compute a solution for 0 ≤ t ≤ 1 using h = 1/100. Plot your numerical solution for s(t) and c(t) versus t and compare it with the solutions found in part (a). Describe your results. Are the solutions accurate and/or stable? (Hint: even though the backward Euler method is implicit, you can solve for sn and cn explicitly for this problem. To do this, first eliminate cn from the two equations. The resulting equation is quadratic in sn and can by solved using the quadratic formula.)