18 september 2007 kkkq 3013 pengiraan berangka week 11 – ordinary differential equations 18...

6
18 September 2 007 KKKQ 3013 KKKQ 3013 PENGIRAAN BERANGKA PENGIRAAN BERANGKA Week 11 – Ordinary Differential Equations 18 September 2007 8.00 am – 9.00 am

Post on 20-Dec-2015

214 views

Category:

Documents


1 download

TRANSCRIPT

18 September 2007

KKKQ 3013KKKQ 3013PENGIRAAN BERANGKAPENGIRAAN BERANGKA

Week 11 – Ordinary Differential Equations18 September 2007

8.00 am – 9.00 am

18 September 2007 Week 11 Page 2

Topics

18 September 2007 Week 11 Page 3

Tutorial Example 1 (adapted courtesy of ref. [1])

Solve the following initial value problem for t = 2.0, given y(0) = 2.

Use the 4th order Adams method. Employ a step size of 0.5. [ Exact solution: y = 2 / (1 + t)2 ]

[1] Chapra, S.C & Canale, R.P, Numerical Methods for Engineers, McGraw-Hill 5th ed. (2006)

t

y

dt

dy

1

2

Apply the 4th order Runge Kutta method to predict the start-up values.

18 September 2007 Week 11 Page 4

Tutorial Example 1 (adapted courtesy of ref. [1])

18 September 2007 Week 11 Page 5

Tutorial Example 1 (adapted courtesy of ref. [1])

18 September 2007 Week 11 Page 6

Tutorial Example 1 (adapted courtesy of ref. [1])