{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ASE 311 HW #5

# ASE 311 HW #5 - -3.0000-6.0000 2.0000 1.0000 1.1002...

This preview shows pages 1–8. Sign up to view the full content.

Usman Ansari ASE 311 HW #5 ASE 311 HW #4 10.12 a.) >> L = [ 1 0 0 ; 0.6667 1 0 ; -0.3333 -0.3636 1 ]; U = [ 3 -2 1 ; 0 7.3333 -4.6667 ; 0 0 3.6364 ]; A = L * U A = 3.0000 -2.0000 1.0000 2.0001 5.9999 -4.0000 -0.9999 -1.9998 4.9999 10.12 b.) >> B = [ -10 44 -26 ]; >> >> x = A \ B' x =

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

View Full Document
Usman Ansari ASE 311 HW #5 1.0000 4.9998 -3.0004 10.4 a.) >> A = [ 10 2 -1 ; -3 -6 2 ; 1 1 5 ]; B = [ 27 ; -61.5 ; -21.5 ]; >> >> A(2,:) = A(2,:)-(A(2,1)/A(1,1))*A(1,:) A = 10.0000 2.0000 -1.0000 0 -5.4000 1.7000 1.0000 1.0000 5.0000 >> >> A(3,:) = A(3,:)-(A(3,1)/A(1,1))*A(1,:) A =
Usman Ansari ASE 311 HW #5 10.0000 2.0000 -1.0000 0 -5.4000 1.7000 0 0.8000 5.1000 >> >> A(3,:) = A(3,:)-(A(3,2)/A(2,2))*A(2,:) A = 10.0000 2.0000 -1.0000 0 -5.4000 1.7000 0 0 5.3519 >> >> L = [ 1 0 0 ; -.3 1 0 ; .1 -.1667 1 ] L = 1.0000 0 0 -0.3000 1.0000 0 0.1000 -0.1667 1.0000

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

View Full Document
Usman Ansari ASE 311 HW #5 >> >> Z = L*A Z = 10.0000 2.0000 -1.0000

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

View Full Document

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: -3.0000 -6.0000 2.0000 1.0000 1.1002 4.9685 >> >> d = L \ B d = 27.0000-53.4000-33.1018 >> >> x = A \ d Usman Ansari ASE 311 HW #5 x = 0.4931 7.9417-6.1851 10.4 b.) >> A = [ 10 2 -1 ; -3 -6 2 ; 1 1 5 ]; B = [ 12 18 -6 ]; >> >> A(2,:) = A(2,:)-(A(2,1)/A(1,1))*A(1,:); >> >> A(3,:) = A(3,:)-(A(3,1)/A(1,1))*A(1,:); >> Usman Ansari ASE 311 HW #5 >> A(3,:) = A(3,:)-(A(3,2)/A(2,2))*A(2,:); >> >> L = [ 1 0 0 ; -.3 1 0 ; .1 -.1667 1 ]; >> >> Z = L*A; >> >> d = L \ B' d = 12.0000 21.6000-3.5993 >> >> x = A \ d x = 1.9751-4.2117 Usman Ansari ASE 311 HW #5-0.6725 10.8 b.) >> A = [ 8 20 15 ; 20 80 50 ; 15 50 60 ]; B = [ 50 ; 250 ; 100 ]; U = chol(A) U = 2.8284 7.0711 5.3033 0 5.4772 2.2822 0 0 5.1640 10.8 c.) >> d = U' \ B Usman Ansari ASE 311 HW #5 d = 17.6777 22.8218-8.8756 >> x = U \ d x =-2.7344 4.8828-1.7187...
View Full Document

{[ snackBarMessage ]}