Question: Please use matlab code, thanks *Question 1 (30%): Solve the following linear systems using 1) Nave Gaussian Elimination; 2) Gaussian Elimination with Partial Pivoting and
Please use matlab code, thanks
*Question 1 (30\%): Solve the following linear systems using 1) Nave Gaussian Elimination; 2) Gaussian Elimination with Partial Pivoting and 3) LU decomposition. When you encounter divided by zero problem for NGE and LU, you can then skip these two methods. For (1) you could use three-digit round-off, and only write the steps for (3) 3.03x112.1x2+14x3=119 3.03x1+12.1x27x3=120 6.11x114.2x2+21x3=139 1.19x1+2.11x2100x3+x4=1.12 14.2x10.122x2+12.2x3x4=3.44 100x299.9x3+x4=2.15 15.3x1+0.110x213.1x3x4=4.16 (3) 3.3330x1+15920x2+10.333x3=79532.2220x1+16.710x2+9.6120x3=0.9651.5611x1+5.1792x21.6855x3=2.714 (4) 2.12x12.12x2+51.3x3+100x40.333x10.333x212.2x3+19.7x46.19x1+8.20x21.00x32.01x45.73x1+6.12x2+x3x4==2=0=1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
