You are on page 1of 5
STQM3413 Kaedah berangha / Numerical methods ‘Semester 1, Session 2020/2021 ‘Ujian Pertengahan Semester / Mid-semester Test ‘CHONG CHI CHENG AIGS968 TIAN. T, Kertas ini mempunyai TIGA soalan sabaja. 2. Pelajar tidak dibenarkan untuk menira. 3. Pelajar perlu hantar jawapan anda sekali dengan kertas soalan ia ‘Markah: 30 ‘Pensyarah: Dr Kohilavani a/p Naganthran 1. Consider R(x)= [le “je v Vet Sets emcemt Serene oe b compute the approximation R(2.19). mais] i 2. Employ Cholesky method to solve the following symmetric positive definite system of Jimear equations: 3x, +4, 45x24, 4x,+6x, + 7x,=6, 5x, +7x, +9x,=8. ‘Weite down all the calculation in four significant rounding digits. l (05 marks] 3. Find the approximate solution (7) for the following system by using Gauss elimination, swith partial pivoting. Write down all the calculation in three significant rounding digits. 10y- Ty 57 | Good Luck Scanned with CamScanner 3x2) +3xJ-1, use_3.5P chopping iiasanae seve se rsraeaaa ken) = [692309 #3(.19]-1 ues 2 bin (219)02.19)=300.11) 0.19) + 6.59) -1.00 | = fA ¥4 (209) - 3 (4.99) + Gee 6.54] —1.00 = (10. Y~ 14.34 6.5%) |. 00 £3.90+6.59) -1.00 Yo. uae 2.b4-1, 06 : : 1.64 ! aes win | EAH i eee Pee 0 |The approximation of & (219) ig 1&4 using 3 sf chopping clights Sti (Psy ge AE) Scanned with CamScanner is, matrix has an an_inverse and aij 70 for ead ¢=1)2,.-.,» ane a aid? Sait Se doch — matrix A is "postive definite mab. r yo | By using ¢ us ing GSE Dt Az me Gt | bat ce dh ae2y ft BO PeeF 9 e eH) 4(0-Yoad) + $2.4 8.3354 0.1684 $2=9 8.5024 $229 f 304) (2.88%) + 0.8199 t= + — a 666 +0. 8199 0=F 0. 8194¢ = 0.3340 ___ 9 t= 0 40d jnyrz oo oO \f/n 88} 2.30] 0-819] © oO (2.884 o.joay 0-053/\ 0 0 Scanned with CamScanner — (1820 Oo or 4 -” 2.309 0.8194 0 ( yr \. 6 _ 2.88% 0.4084 0.405% ys 8 “Backioard substitution Seve for tgeb 1.4324, = 4.000 , 3-30fy, +0 BHIya~ 6.000 = y= 2-34 2, 3092.30] 40,8144 4 2 = 6.000 6 33l + 0.8197] ya = 6.000 BIFya = 0.6692 405443 = 8.000 2 88¥(. 307) + 0. ¥OR4+(0. 8174) + 0.40544 3 = 8.000 6.666 + 0.3340 + 0.4054y a= 8.000 ss * ___-00D + 0.405343 = 8-000 __ 0. F05#ya= 1.000 _ = Ltt 4, 2.304 ae a (= \- Ce ang) re - ys 7 \ Hy 7 — 4322. \ fa 2.304 DO. (3) 0S oo. ost JN ¥3/ Ne 0.905423 = [HF , D- B19 x, + 0.4084, = 0.8144 > 43=2.008 —0-8I99x, +0 oR4( 2 O08) = 0.8149 0 8199 x2 $0. 820] = 0.8199 0. 8199 x2 = ~ 0.002200 X z= ~ 0, 002690 SUE pis) 690 (Ouse SPUR, $2.30] ry + VNB FH = 2.307 ae a LP2x, 4 2.24(- =2.690x 1073) 42 88+ (2-008) = 2.309 - 13d", + (= 0.00641) + 5 Fy = 2-304 _ kL Nypre, + 5.49 = 2-30) < —______ Ease, ~ 3.8L - ae = O10 sy > > The apprecinwte solution, 2 | Scanned with CamScanner ‘ 10.0 -%.00 0.00 — 3.00 2.10 6.00 5.00 -!-00 5.00 s patel rae 100 5.00 | 6.00 | 2.10- 2.10 00 2.10 6.00 _ - 7 ea aoe — —Re@ Rs 5 0.0 ~F.00 0.00 [4-00 2.10- (=0.300)(-F.00) 5.00 -2.00 3.90 Ramm RPP. Ot. | $00 —Rscmesk by /I : R3-ms,R,-> R3 D2. 2.50 ~ 6.00 - (-0,308)( 0-00) Ol 00 oI 0.0 = F-00 ae 4.00.) —___' Solve fr {0.00 2.50 5.00] 2. 50, = 0.00 0,00 6.00] 6.00 using backward substitution: . Kt 5. 00X3~2.50 ) 1DOx,-5-00%.= 4.00 —_|___%j=1.00___ 3.50 +6 80Ut OO) = 2.50 10, 0x, -¥.00(-1.00) =+.00 = | - = : _ 2 50x, +500 = 2.50 1D,.0%,* 4-00>4-d0 = -2.50 10, ipo OPT Hi So} - . 10,0 X,= 0,00. I X) = 0.00, The approximate solution, = (0,02 —(.00 ,00)T using 354 = YounAing. _ _ - Scanned with CamScanner

You might also like