Question 2: The function y(t) satisfies the ordinary differential equation dy dt = f(t, y) for t> 0. (4) The variable t takes discrete values, tη with a constant step-size h = tn+1 − tn, for all n € N. The approximation of y(tn) is denoted yn. (a) Derive an implicit scheme by integrating (4) over the interval [tn, tn+1], using the trapezium quadrature rule. (b) Consider the case f(y) = -λy where > 0 is a constant. (i) Find the exact solution of equation (4), subject to the initial condition y(0) = yo, and identify the behaviour of the solution as t→ +∞. (ii) Write down the difference equation corresponding to the implicit scheme derived in part (a) and show that Yn+1 = 1 - Xh/2 1+ Xh/2 Yn. (iii) Solve the difference equation (i.e. write down yn in terms of yo) and show that this implicit scheme is unconditionally stable. = (c) Verify that y(t) tlnt2t is a solution of equation (4) for f(t, y) initial condition y(1) = 2. = 1+y/t, with Write down the implicit scheme obtained in part (a) in an explicit form (i.e. express Yn+1 in terms of yn). Then, starting at t = 1 with h = 1 and yo = 2, approximate y at t = 2 and calculate the error of the approximation. (d) The global error of this numerical scheme can be analysed for f(y) = -λy. The global error is the difference between the exact solution y(t), obtained in part ((b)i), and the approximate solution, obtained in ((b)iii), when n = t/h. Show, by expanding the global error as a Taylor series in powers of h, that the method is of second order.

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
Question
Question 2:
The function y(t) satisfies the ordinary differential equation
dy
dt
= f(t, y) for t> 0.
(4)
The variable t takes discrete values, tη with a constant step-size h = tn+1 − tn, for all n € N.
The approximation of y(tn) is denoted yn.
(a) Derive an implicit scheme by integrating (4) over the interval [tn, tn+1], using the
trapezium quadrature rule.
(b) Consider the case f(y) = -λy where > 0 is a constant.
(i) Find the exact solution of equation (4), subject to the initial condition y(0) = yo,
and identify the behaviour of the solution as t→ +∞.
(ii) Write down the difference equation corresponding to the implicit scheme derived
in part (a) and show that
Yn+1 =
1 - Xh/2
1+ Xh/2
Yn.
(iii) Solve the difference equation (i.e. write down yn in terms of yo) and show that
this implicit scheme is unconditionally stable.
=
(c) Verify that y(t) tlnt2t is a solution of equation (4) for f(t, y)
initial condition y(1) = 2.
=
1+y/t, with
Write down the implicit scheme obtained in part (a) in an explicit form (i.e. express
Yn+1 in terms of yn). Then, starting at t = 1 with h = 1 and yo = 2, approximate y at
t = 2 and calculate the error of the approximation.
(d) The global error of this numerical scheme can be analysed for f(y) = -λy. The global
error is the difference between the exact solution y(t), obtained in part ((b)i), and the
approximate solution, obtained in ((b)iii), when n = t/h. Show, by expanding the
global error as a Taylor series in powers of h, that the method is of second order.
Transcribed Image Text:Question 2: The function y(t) satisfies the ordinary differential equation dy dt = f(t, y) for t> 0. (4) The variable t takes discrete values, tη with a constant step-size h = tn+1 − tn, for all n € N. The approximation of y(tn) is denoted yn. (a) Derive an implicit scheme by integrating (4) over the interval [tn, tn+1], using the trapezium quadrature rule. (b) Consider the case f(y) = -λy where > 0 is a constant. (i) Find the exact solution of equation (4), subject to the initial condition y(0) = yo, and identify the behaviour of the solution as t→ +∞. (ii) Write down the difference equation corresponding to the implicit scheme derived in part (a) and show that Yn+1 = 1 - Xh/2 1+ Xh/2 Yn. (iii) Solve the difference equation (i.e. write down yn in terms of yo) and show that this implicit scheme is unconditionally stable. = (c) Verify that y(t) tlnt2t is a solution of equation (4) for f(t, y) initial condition y(1) = 2. = 1+y/t, with Write down the implicit scheme obtained in part (a) in an explicit form (i.e. express Yn+1 in terms of yn). Then, starting at t = 1 with h = 1 and yo = 2, approximate y at t = 2 and calculate the error of the approximation. (d) The global error of this numerical scheme can be analysed for f(y) = -λy. The global error is the difference between the exact solution y(t), obtained in part ((b)i), and the approximate solution, obtained in ((b)iii), when n = t/h. Show, by expanding the global error as a Taylor series in powers of h, that the method is of second order.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,