0% found this document useful (0 votes)
12 views

m1 Solutions

Final Solutions 1

Uploaded by

Reansg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
12 views

m1 Solutions

Final Solutions 1

Uploaded by

Reansg
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 5
ATILIM UNIVERSITY Department of Mathematics MATHSa0 Numerical Methods for Engineers Midterm 1 28.03.2019 Last name = Instructor © AAS REAL Signature Namo Timo: 16: 30 1D Number Duration + 100 minutes 5 QUESTIONS ON 5 PAGES TOTAL 100 POINTS: a CY IMPORTANT: Show all of your works, Correct answer without sufficient explanation may not get full grade, Tu all computations, either represents a real number as a rational number, or use 4 digits rounding arithmetic after the decimal points for floating point representation of real numbers. (2) (204-10=20pts.) Consider the equation F(a) = 1 —# + sine = 0 on the interval (1, 2] {a) Use the fixed-point method pay = (Pn), where g(a) = 14 sina with po = 1.6 and find py and pa. R= I+Sin(®), n=O! 2) = 14 Sil@)= 1 Sas) = 140-9995 = 1 9374 “R= fa BalP) = 44 Sn U-9974) = [+ Or 9103 = {-Sfo3 (8) Uso the bisection motiod forthe equation (2) =O and perform ees trations to Rl eayey nd eo eyePog es Continuous 9 Cnat, £C)=Siatd yo “5 £09 =O. J $a) = - 14 Sila) Lo has a roof oy: 2 wn Trey ee + £1) = Sink) =0- 8415 90 oe 3 PCG/a) = {= 2/0.4 Sin(3a) = O-4 975 YO ) £(2) = 1-24 Sn) 27140-9083 =~ 0-0G0TS? Bt “Second clerabon : g= Bee. Ig I Sent | z ‘ook lies wy « G2) = 0.4975 70 = EOI 1 Mier Sh) = 0-95 +0980 = 0-236 | CH, 2) -f(QQ)= -0.0304tL0 a Wyte AF e Third Cterahon ¢ te = 3 = 85 (2) (6+5+-10=20pts.) Consider the following linear system of equations: atytde = -1 —d4e+Qy-2 = 1 z—6y = 0 {a) Consider the above system in matrix equation AX = B. Det ine whether the coefficient matrix A is strietly diagonally dominant or not sy =f Play lelargl -telale4 -e=-{34 31> [4 nl = Hl 1} roltloag Mob = 42 44) 91> 4 Lape] = ot jea'Planltlors = l-thel-th<5 1-6 OLL%) LOL] toga) lols oy! oul lasal Aits nef ahs tcthy tex gona thy ormineant. [2,u,2]” such that the matrix A is (b) Rewrite the ebove system in the matrix form AX = B where X = strictly dingonally dominant, of the eqns fa, )-1-4l- 4 dlopllagleleltt\=3 {fe ie iat i ashe Vagg|-I-ct tol EMLES LAY \ pagal tats => Ais altielly dia gone ta (c) Use Gauss-Seidel method which conver (0,0,0)" as starting vector. ee - fetes, =S a A=Ag Eke kota, --- tae Yer Sear AVY 366461 Bol oe Srey 0.2510 4 (8) (20pts.) Taking xp = 0.5 and yo = —8.0 and using Newton's method find an approximate solution of the nonlinear system of equation wy th Qe — By ° 10. in one iteration. Let Pore Hyrt, abuy) = 2 By 10 [eet : | * ate, sp DFl ys) } ke Oly -=- Jha. dk . = where Thy, de Sy broth) fylmurged 7 Dt Me Oy (Xe Hu) gy ge) 2 -3 ee ee ree ee wr Va) = alts gu) = Dx -Byyr tO dor 20. AEs | i. ee ee 4 Foie = en aol 2.0.5) 10 o © amy, X27 [2-0-8.63) lo a¥( [-3 ong 2 Sbunge)= | vie a oo 3 asf, }+O-3629 ~8.d9.94 "| ae 3 | H-D-23 53 0-3 4° xy. %y] wal / = Jos he Ly -0.2.517 © 3.0) $5{-2. -% 1 Yo.s 40-0882 (_ 0.5832. a| | -2 40.08 HLA 2. S poet 3 IF Woo) = Us (4) (15+5=20pts.)The heat of the water at time t is i table, ‘Time (hour) ‘Heat of Water (°C) rv 8, 8. {a) Bind the inter lan polynomial of lost dognse Ui lite Rates the ee data, « FO) = Jovd + gy Ail + yy bobs ‘eget i = 001,08 4 tol ba + 50 Lath) RY (yey) Gengcal ,. CNbe2! CD25 do RO2) 2 Ly ye “Ent xlx-2) og? dokerpoloher (b) Find the approximate heat of water at time ¢ = 1.5 hours. 255 (h5)(08) ew 5O110K 95 4 the head of dhe a debe FOUASL PU8)= 5 -00)( Surname: Name: Signature: (6) (10410=20pts.) Consider the linear system of the equations AX = B where EE tb] (a) Use Gaussian elimination with partial pivoting and find the ¢rlangular factorization of the matsix A such that PA = LU where P is the permutation matrix, [ is the lower triangular matrix with unit diagonal entries and U is the upper triangular matri Teo tek m,h ( 100 SVS HR,erR [2 0 —E [REBT Lelnn 9 Apia, ap e8 [Oks 8 ieauaseeen Toeat lena ga )! ool a ont Mp 1 ° \ ° ol eo tao of peje O], A= 2 & «IW Waa ij) BO? I 0 9% (0) Use part (a) to solve the linear systom AX = B as follows: First, use forward substitution t0 solve LY = PB for ¥ where UX = ¥. Then, use back substitution to solve UX = ¥ for X. are j aI wontde ease “Ls $44, : | Baap = 235 ie a axe a mar urls Se Oh Re Ee yea 356%, = yo » x= 8/25

You might also like