UNIVERSITI SAINS MALAYSIA Peperiksaan Semester Pertama Sidang Akademik
20OS|20OGNovember 2005
MAT 518 - Numerical Methods For Differential Equations [Kaedah Berangka Untuk Persamaan Pembezaan]
Duration
:3 hours [Masa
: 3jam]
Please check that this examination paper consists of SEVEN [4 pages of printed
material before you begin the examination.
[Sita pastikan bahawa kertas peperiksaan ini mengandungi TUJUH ft] muka surat
yang bercetak sebelum anda memulakan peperiksaan ini.l
Answer alt FOIJR questions. All questions carry the same marks.
[Jawab semua EMPAT soalan. Semua soalan membawa jumlah markah yang
sama.l
IMAT
5181l.
Consider the one-dimensional transport equationvelocity z
is known and positive.where
the(a)
The DuFort-Frankel scheme can bewritten
asExplain how this scheme is obtained.
(b)
Analyzethestability
of the DuFort-Frankel scheme.[100 marks]
1.
Pertimbangkan persarnaan pengangkutansatu dimensi {*u+-"+=0 0t 0x
0x denganhalaju
u diketahui danPositif
(")
SkemaDuFort-Frankel
bolehdinlis
sebagaiTerangkan bagaimana skema
ini
diperoleh-(b)
Analisisstabiliti
skema DuFort-Frankel-fl00
markahJ2
2. Consider the one-dimensional
is known and positive.
TheT:*t -T! ^
A2T- 0.5u2Lt
^Lt 0x'
AT AT - +u- -a- 0t 0x
A2T6x' ^ -0
convection equation
9!*u{ =O
where thevelocity
r.r0t
0xLax-Wendroff
schemeconsists of replacing AI
0t
by
(a) (b)
By using central differences, write down the
Lax-Wendroff
scherne.Investigate the consistency of the Lax-Wendroffscheme.
[00
marks]2. Pertimbangkan persamaan diketahui dan
positif.
SkemaT:"-T: _ 0.5uzLt_ -_1
A2TLt
Oxz 'olahan satu dimen'i {+'{:o 0t
0xyang
manahalaju
uLax-Wendroft diterbitkan dengan
menggantik",
T
denganIMAT s18l
the
five-point
differenceft,
show that the speckal Dengan menggunakan beza pusat, tulis skema Lax-Wendroff,Kaj
i
kekons is tenaan skema Lax-Wendroff.[100 markahJ
3. (a)
Decide the convergence or divergence of Jacobi and Gauss-Seidel iterations for the linear solutionAx:
bif
(a) (b)
[sto1
n=13 u
ol.
L44s)
(b)
Consider the Laplace equationv2u=0, o<ycLr, o.r.L
with
valuesof z
defined at theboundaries.
Supposeformula is
usedto
discretisethe
equationwith
mesh radiusof
theSoR
iterati onis p(L,
)=m,
.that size
(c) Assuming
Lx = Ly = ft,
discretisethe following
Poisson equation using the cenfred difference formula:-uo -u* l4u' :
x2eo,
(x, Y) e (0,1)'r(0,1) u(x,O): u(x,l) :
0, x e (0, 1)u(0, Y) =
u(1,l) :
0,!
e (0'l)
with h: * .
Generate the linear systernwhich
arisesfrom
this discretisation using row-wise natural ordering.[00
marks]4 IMAT 518]
3. (a)
Tentukanpenumpuan atau pencapahan lelaran Jacobi dan
Gauss-Seidel bagi penyelesaian sistem linearAx :
biika
n=lt [s3
6144
q1
41.I
sl
I(b)
(c)
P er timb angkan p er s amaan LaP I ac e
Y2u=0, ocy<|, o.*.L,
dengan
nilai
utertalvif
pada sernpadan. Katakan rumus bezalima-titik
digunalmn untuk mendislvetknn persamaanini
dengan saiz mesyh,
tunjukkan bahawajejari
spektrum bagi
lelaran
SORialah p(L, )=m
Dengan menganggapkan Lx=Ly=h, dislvetkan persamaan Poisson
berikutdengan menggunakan rumus beza ketengah:
-uo -uw
+ 4u,.)
=x'€o
,u(x,0) =u(x,I)
= 0,x e (0,1) u(0, Y) = u(I,!)
= 0, Y e (0,l)
(x,y)
e (0,1)x(0,1)dengan h : +.
Janaknn sistemlinear yang terhasil
daripada pendiskretanini
dengan menggunakan
tertib
baris biasafl00
markahJ4. (a)
Consider thefollowing elliptic
problemY2u=0, 0<x,y<1
with
valuesofz
defined at the boundaries.lMAr 518I
i.
Suppose that thefive point
differenceformula is
usedto
discretise the partialdifferential
equation using the ordering as shownin Figure l. If
the resultedblock matrix
systemis
solvedusing the two line
SOR(S.2.L.O.R)
method, what is the estimated optimum relaxation parameter ato and the spectral radius of the S.2.L.O.R iterationmatrix p(L,,)?
ii.
Whatis
the approximate theoretical numberof
iterations youwould
expect to getif
thetwo line S.O.R.
methodis used for
mesh size n:2I
and tolerance e:10-7. What is the rate of convergence R-(L,o)of this method for
this mesh size?(b)
Consider the system At!=b
wherelg rl l-tl
A:l . .l , b:|,l.
Ll l1
L'JGenerate
2 iterations of the preconditioned Conjugate Gradient method with
preconditionermatrix , :l? : [o
tJ(c)
The Gauss-Seidel iterative methodin
solving the systemAU= b
can bewritten
as uw*t) = (D- L)t uuw)
+ (D- L)'
b.Using this fact, prove that the S.O.R. iterative method is defined
by uft+t)
--L, aG)
+(I -
atF)-t
atg
where
L,
is the S.O.R. iterativematrix
givenby
L, = (I - a F)-' lafl + (1- at)Il
with F =D-tL, H =D-t(J, 8:D-th., where A:D- L-U
.[00
marks]5
4.
(a)6
P er timb angknn mas al ah e lipt i k b er i kut Y2u
=0,
0 <x,y <l
dengan
nilai
utertalvif
pada sempadan.t (k*1)
=(D - L)'Uu&)
+ (D- L)t
bIMAT
5181(0,1
(0,0) (1,0)
Rajah
1i. Katakan rumus beza terhingga lima titik digunaknn untuk
mendislqetkan persamqan pembezaansepara ini
dengan menggunakantertib
seperti yangditunjukkan dalam Rajah l. Sekiranya sistem
matril<sblok yang
terhasil diselesaikandengan
menggunakankoedah SOR (5.2.L.O.R) dua
garis, apakah parameter pengenduran optimumanggaran au
danjeiari
spektrum bagi matriks lelaran S.2.L.O.R duagaris, p(L,,)?
ii.
Apakah anggaran bilangan lelaran secarateori yang anda dapatiangkakanjika
kaedah S.O.R. dua garis digunakan untuk saiz mesyn : 2l
dan tolerane =10-7 . Apakah kadar penumpuan
R*(Lro)bagi
kaedahini
untuk saiz mesy ini?(b)
Pertimbangknn sistemAa=b
di manab=l
l-rll.-
Ll.i[q tl
n=1, rl
'Janaknn 2 lelaran kaedah Kecerunan Konjugat berprasyarat dengan
matril<sprasyarat ,=11:l
L0
1l(c)
Kaedahlelaran
Gauss-Seideldalam
menyelesaikan sistemAU : b
bolehditulis
sebagai
7 [MAT 518]
Dengan
menggunakanfakta ini ,
buktikan bahawa kaedahlelaran
S.O.R' adalahditakrifkan
sebagaiu?+r) = L,
,!(o) +(I - a F)-1
atg
di
manaL. ialah
matrilcslelarans.O.R.
yang diberikan olehL, = (I - o F)-' lotH + (l - a)Il
dengan F=D-tL, H=D-t(J,g:Dtb, dimana A=D-L-rJ
'[100 markahJ
-ooo000ooo-