m304hw1sol

m304hw1sol - fFZ/Né- 20/0 Lama/,5 [a /«/mwwé 1 K04 I. 3...

Info iconThis preview shows pages 1–17. Sign up to view the full content.

View Full Document Right Arrow Icon
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 10
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 12
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 14
Background image of page 15

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 16
Background image of page 17
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: fFZ/Né- 20/0 Lama/,5 [a /«/mwwé 1 K04 I. 3 -/ Z 6i :: {J A] [0 I '4] f5 i/Iw’rtlié/f/ 002. S'I‘me =U)f/}f2}= 5 7‘ O I -l 0 LLFJifl-fl I —l 0 0 Q} q C? 5‘ Me (pl? 0/ are {if/7, o/Iféflt/é’flz- A ___ 3 o o J’ .2 O O] )5 qujujar/ I 2 2. Exam 0/3! 64,) =U)/0)[2) :0 A4 :E g i5 ,‘nvgxzié/é/ I 22 flute o/e{[,44) =00) w (2): K #0 [AB 50/02/00 [0 AIXsé 1‘: ,Mf/Mf/ 5'19? (3 fl, 1‘; in WV [fl le 3 -/ Z 'x/ ’6 0 / -/ X1 :1 -3 0 O ,2 X; ‘ 2' D7004 fulfil/align 57(3): 229:2;- )3:/ E7 {2) 5 X7525), 2—3 :29 x1—/:-3=)x2:-2 E 7 (I) : 57x, ~x2 +2x3 =~K —..-'=)3y,+2 +22% =9 Yl-‘Jé He job/fox; £0 Agxré 13 0A0 (ml/1:9 52 Al, 1’) a/J’o [river/11h? fine A2 ama/ A} 4/? J/qu/OI; J'o/ullou £0 14£X=A 0/70/ A;X=A are/19% (Ill/“706, Q ,2' j‘w’we AMA A J 4‘ (III/711? I'd/fl I‘m/1’0 X2 X1 j ::,~-__) A J- O I -I 0 3 ’0 2 I "I -! f‘ér-Qr 0 0 2. I l 2'” ’ [I _.__.——> 0 G‘=5“%Vz 0 51 5 MA 511% {My l1 0/) 523; X3 3: lfé "fl‘ X3 253 334 46! X2. J A Mjm an! eJ Mair/X M/ 2 5” 3 2 2- i2 3 8 5 ll, r—finm 0 - l/ 6 1 3 5mg”, o —4 2 2x, + 532 +3x_3 :2? X132 _——‘_.' 0:) BJ Me mmgwtr Jaw {Ag {0.16, g VE/Aye aroww/ gdz MESA mm! ée gang, 7/}(2re/ore we oé/am Me /'o//ow132f {)6le 0 7 fl'fléa/ gym/I’m; I}? 7 uflzflawfls, U er [a [—01an (MM!) 1(xl-X4Jf/fx,*xz)+ U’, = 0 foex med in #6 Ml‘b’J—IE: “Xi—>9)? [{xij) r/(xz—xg) #2220 HEB?!“ {ff/Haring! may}? / (x341) + / (x345) + [xi = O Leéédnosé MAJ in Me nod/jg Loy 1X4 1— / (xq-xfl +//x4—xa.) +/ (x949): 0 “MW/‘9 L“ [fig—x“) + / 054;)+/(;3--X‘)+/()S.~x2) [(xéfixj)+l{xg—x?)+/xg+ //x6~)§):0 EHo/n jg! mei mwé /X}+ /(X;-Xg)+/{X;-Xé)_=0 Bat/{0m MEIA M Ma m/‘o/z/é: f/X3*X;)+ /x3+/{x3,—X?)+ foxj) = 0 0 H gaffer?) rijFmthl MEJA [(X?-Xg) +/x7 — 77+ [{xg-YJ) =0 3 ~I 0 ~I 0 0 0 0 0 'X, a -I 4 4 0 -l 0 0 0 0 x2 0 O “I 3 0 0 4 0 0 0 X3 0 -I 0 D Z, “I 0 4 0' 0 XL, 0 o —/ 0 -/ 4 -I 0 -/ 0 X5 " 0 o 0 --I 0 -/ 4 0 D ‘I X; 0 o 0 0 -I o o 3 4 0 X: 0 0 0 0 0 -I 0 -/ 4—! X5 0 0 0 o 0 0 -/ o -I 3 x7 7 The Solulion 35 u T x: [0.3 0.45 0.; 0.1,; (1.7 wag 1.112217 fee {lie allac-Aoo/ Haul/45 tag/fluf- ( ) k k kn in) ’m/ a .———_ 2_ 3 4 ' C MM 6 f 0 [5, w {a {:3 ’72 I, :2“ (:3) I,“ Forces 0/) 5, Wm uf {o 0 71‘], Ics,+1/:2_= ‘fl—klxl+k2.{x2-'XI)=0 Fart“ on ('2. A» A, +54 = A*/<2(X2‘XI)+"3(§-xfl= O 9er-‘—Mm~vw;~—um'm’m “NM-w... My. M 0...... “m .m ~..mem Mu we...“ >4 4 ~wwu...-m‘ Qesu Hffij _:PI_71 :0: __ {fifflgmfifix V1234; “1‘2. -l<l 13% ~43, 0 —k3 @4191 -l<q O \ \ \ \ ~l<mkfijkn l<n ../<n It." Nola) {0/ {1e (self/ire?” mgr/xix agave 01:}. :0 {w a// ,‘U' “I. /,._J./ )2 m Mu. um Mm 0% 19' m“ x,- Me wot/"W matrix :5 in Me {NM :2 —l -| 9. 4‘ A: ' 732 {0/0310}? raunaé/ 143 {£00 a/én'maj X:[fl.f2 [.05 1.5} 2/0 2.69 2J4 LH “70.710424 4% -HI-LIY—Lfl-2/4 £12 -2./0-/.57-/,aj.a,§ j 6 {Jet a}1[d(/€o/ Hal/a} ou/fuf e 5’ {0) Given 61PM” {an (If/D?! [r11 Mat/rix)/ £6720 for I. 5”! nflj/ ” 7’ xi, (—l’f for J}.- f+ll 1‘42, _ __/ H (No! eXew/Pa/ for i=n) Xfé—X; — aux- U J anJ X; (‘— XI' /4;“ GeflQVfl/fl far/major [or Aoné J‘ij lily/I‘M far jzll . - ,0 xi :2 — allilel-J-1— ai,1"#9_xin: ‘ —a§,n X0213“ H m ,._4.,.. v vau—m -—..~.M.—.w.._..\ v... FE!” eat/1 JET—1:2, —' xn {A8 frmrr : Br 6536)) I a/J'a ,4 0/13/25 19/) ,J fer/a/mfi/ T 51 —” S; _—_ 2. (2(0—[) “f 1:] n j n 122,1 + Z— ] __ 1Z3 1-: izl 1:! Faye [2/7) »far{ (A) 04(EXéLra‘J‘é 1" .“ Mam (MM .olu. m 0. 0, .0, 0. 0, 0, W. __ b » >>A=[3-10-100000; 4440-10000; 04300-1000; 0-10-14-10-10; 00-10-1400-1; coo-100340; ooooo-1o-1 31 4004-10400; 0000-10-14-1; A 1...? .l :y if. s, £45311... 5. = 000000009 .0 >> x = A\b 0.3000 0.4500 0.6000 0.4500 0.9000 1.3500 'MH/al ' ,Qlf—(fxerdxe ~f 0.6000 1 .3500 3.9000 >> A'x ans = 0.0000 ’ -0.0000 -0.0000 0 0.0000 0 0.0000 0.0000 9.0000 We ad?“ a 0 2/2. .~ . Maya; 0u#u7‘o. @Irffxem‘re [220% W11 [U ‘ Paj? 2/ 0 0 0 0 O 0 0 0 0 0 0 O O 0 0 0 -1 0 0 0 2 -1 0 0 -1 2 -1 0 O -1 2 ~1 O 0 -1 2 >> f = zeros(20,1); >>1(5) = 1; >> 1(16) = -1; >> x = A\f X= 5.2380952380952366-01 ‘1 .04761 9047619047e+00 1 .571428571428571e+00 2.095238095238094e+00 2.619047619047618e+00 2.142857142857141e+00 1 .6666666656666666+00 I 1 .1904761904761906+00 7.1428571428571366-01 2.380952380952371 e-01 g * -2.380952380952394e-01 C -7.1428571428571 596-01 -1 .1904761 90476192e+00 -1 .6666666666666696+00 -2.1428571428571466+QO . ‘ -2.61 90476190476226+00 -2.095238095238097e+00 -1 .5714285714285736+00 —1 .04761 9047619049e+00 6.2380952380952436-01 >> A*x ans = -2.2204460492503136-16 4.4408920985006266-16 0 -4.4408920985006266-1 6 an‘ M) M? P036 6 .y .s \: .mu H; m. R. u m 2. w m 1..-... h fl;-fl24m t m2....m=__% Mu mkhmmmm n __H.\m_\=H\,U= m CCCHRRA = m >>>>>>> C >>>>>>> A - 'm Ma'll/GL Ou/fu" Exercise /¢2,20)”f 00000000000000424000 00000000000004240000 00000000000042400000 00000000000424000000 00000000004240000000 00000000042400000000 00000000424000000000 00000004240000000000 00000042400000000000 00000424000000000000 00004240000000000000 00042400000000000000 00424000000000000000 04240000000000000000 42400000000000000000 24000000000000000000 Columns 17 through 20 00000000000 00000000000 00000000000 00000000000 Ma”; la; Ow’fw‘ 1 .0000000000000006+00 ~6.6613381477509396—16 4.4408920985006266-16 1 .1 10223024625157e-16 3.885780586188048e-16 -8.326672684688674e-17 0 2.2204460492503138-16 0 0 '8.8817841970012528-16 -1 .000000000000000e+00 6.6613381477509399-16 -4.440892098500626e-1 6 -1.110223024625157e-16 2.2204460492503136-16 (EXero‘se 2,20) ~Pur1’ (Z) We 3/3 function x = backsubstituteCA,b) n = lengtth); For i = n:— xCi,1) IIH 1 bCi); for j = i+1zn XCi,1) = xCi,1) — ACi,j)*XCj); end x(i,1) = xCi,1)/A(i,i); end return; Printed: 1/20/09 6:38 PM Page1 . >>U=[-1 312;0-131;00-1 3;000-1] >>b=[-9;-3; i = ...
View Full Document

Page1 / 17

m304hw1sol - fFZ/Né- 20/0 Lama/,5 [a /«/mwwé 1 K04 I. 3...

This preview shows document pages 1 - 17. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online