Question: Please do not use functions or symbolic toolbox [syms] 1. 5 6 7 5-1 8 -41 03 A-2-1 3 6 -9 10 1-4 6 9

Please do not use functions or symbolic toolbox [syms]Please do not use functions or symbolic toolbox [syms] 1. 5 6

1. 5 6 7 5-1 8 -41 03 A-2-1 3 6 -9 10 1-4 6 9 5 -5 -8 4 b"=[-3 5 2 9-2] 2. Write a MATLAB code using the Gauss-Siedel method to solve the system of linear equations from Problem 1 (using matrix, A*) (a) Stop the iterations when the 2-norm of llx(k) X(k-1)11/Ix(k) l is less than 10-6. (b) Print out the final values for xk, the corresponding 2-norm of the error, and the number of iterations required. (c) Compare the performance of the Gauss-Seidel method to the Jacobi method 3. Write a MATLAB code using the Newton method to solve the system of nonlinear equations: Stop iterating when the 2-norm of the incremental vector, {k+ -k, ky, is less than 104. Compute the solution accuracy by plugging your estimated solution back into the provided equations and evaluating each at f(x, y)0 (a) Use 120-1, y0-0] as your initial guess. Print out the final estimated z, y as well as your error for each function Repeat using [Zg :-5, y,--2) as your initial guess. Print out the final estimated r, y as well as your error for each function (b) 1. 5 6 7 5-1 8 -41 03 A-2-1 3 6 -9 10 1-4 6 9 5 -5 -8 4 b"=[-3 5 2 9-2] 2. Write a MATLAB code using the Gauss-Siedel method to solve the system of linear equations from Problem 1 (using matrix, A*) (a) Stop the iterations when the 2-norm of llx(k) X(k-1)11/Ix(k) l is less than 10-6. (b) Print out the final values for xk, the corresponding 2-norm of the error, and the number of iterations required. (c) Compare the performance of the Gauss-Seidel method to the Jacobi method 3. Write a MATLAB code using the Newton method to solve the system of nonlinear equations: Stop iterating when the 2-norm of the incremental vector, {k+ -k, ky, is less than 104. Compute the solution accuracy by plugging your estimated solution back into the provided equations and evaluating each at f(x, y)0 (a) Use 120-1, y0-0] as your initial guess. Print out the final estimated z, y as well as your error for each function Repeat using [Zg :-5, y,--2) as your initial guess. Print out the final estimated r, y as well as your error for each function (b)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!