please answer using the book Numerical Methods for Engineers
please answer using the book:
Numerical Methods for Engineers and Scientists Using MATLAB®
Ramin S. Esfandiari
72 A Write a user-defined function with function call Ex,k,Mno GenIter 2 (A,b,x0, tol, kmax) to solve Ax b using the genera s iterative method as follows: The coefficient matrix must be P Q has the same upper diagonal one split as eve higher than the diagonal, and lower diagonal (one level lower than the diagonal) entries with all other entries zero. The inp put arguments, as well as the terminating condition are as in functions Jacobi and Gaussseidel (Section 4.5) with the same default values The output Mnorm is the infinite norm of the corresponding iteration matrix. Apply Genlter 2 to the linear system -8 1 -1 16 0 6 0 4 2 -1 -5 1 x 1-9 (0) ok, 10 x 10 11 Scanned by CamScannerSolution
image cant be seen
