This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: Backfilling: b = 3(3) + 11 = 2 a = 12 2 3(3) = 1 Therefore: a=1, b=2, c=3 is the solution to this set of linear equations A = [1 1 3; 2 3 6; 4 1 3] A = 1 1 3 2 3 6 4 1 3 >> B = [12;26;15] B = 12 26 15 >> A\B ans = 1.0000 2.0000 3.0000 (2) Solve this set of linear equations using Gaussian Elimination (use Wikipedia. ..). Show your work here. a + b + 3c = 12 (1) 2a + 3b + 6c = 26 (2) 4a + b + 3c = 15 (3) Subtract 2* (1) from (2) , and 4* (1) from (3) : a + b + 3c = 12 (1) b = 2 (4)3b  9c = 33 (5) Add 3* (4) to (5) : a + b + 3c = 12 b = 2 9c = 27 Thus: c = 3 b = 2 a = 12  2 + 3(3) = 1 (3) Clear your command window before you start. Use MATLAB's left divide operator to solve this set of linear equations. Attach a printout of your MATLAB work....
View
Full
Document
This note was uploaded on 04/09/2008 for the course EGR 115 taught by Professor Kindey during the Spring '08 term at EmbryRiddle FL/AZ.
 Spring '08
 Kindey

Click to edit the document details