(3%) Let y' = y2 + et. Write down the recurrent
relationship between yn+1 (=y(tn+1))
and yn (= y(tn))
for each of the following methods:
(a)
Forward Euler method.
(b)
Modified Euler method.
(c)
Backward Euler method.
(You don't need to express yn+1 as an explicit function
of yn and tn.)
2.
(2%) The modified Euler method is derived by applying the
trapezoidal rule to solution of y'=f(y,t):
If we want to use the successive substitution method to find
yn+1, what is the range of h for convergence?
3.
(3%) Please fill up the following table in terms of the
integration step h:
Forward Euler method
Modified Euler method
Backward Euler method
Order of local error
Order of global error
(RK method = Runge-Kutta method)
4.
(4%) Put the following higher-order ODEs into the standard format
, where is a vector of variables
and is a vector of functions.
(Remember to specify the initial conditions .)
(a)
y'''(t)+2y''(t)+3y'(t)+4y(t)=g(t), where
y(0)=y0, y'(0)=y'0, and y''(0)=y''0.
(b)
, where
y(0)=y0, and y'(0)=y'0.
5.
(4%) Let y' = f(y, t) = y2+et.
(a)
Express y'' in terms of y and t.
(b)
Express y''' in terms of y and t.
6.
(2%) Let y' = y2+et.
What are the k1 and k2 (in terms of yn and tn)
for the second-order Runge-Kutta method?
7.
(3%) Please fill up the following table in terms of the
integration step h:
2nd-order RK method
3rd-order RK method
4th-order RK method
Order of local error
Order of global error
8.
(2%) What is the shooting method good for?
9.
The exact solution for is
. Suppose that
y0 and is positive,
so y(t) is positive for all t.
(a)
(1%) Write down the forward Euler formula
for .
(b)
(2%) What is the range for h such that the yn
remains positive for all n? Does yn converge or
diverge for a given h in the range?
(c)
(2%) What is the range for h such that the sign
of yn alternates at each step, but still converge to
as n goes to infinity?
(d)
(2%) What is the range for h such that the sign
of yn alternates at each step, and the absolute
value of yn diverge to infinity as n goes to
infinity?