24-Sep-2022 20:40:27 jacobi_test(): MATLAB/Octave version 4.2.2 Test jacobi(). jacobi_test01(): jacobi1() uses Jacobi iteration to solve a linear system. jacobi_test02: jacobi3() uses Jacobi iteration to solve a linear system. x_exact = 1 2 3 it (x1,x2,x3) |dx| |r| |e| 0 ( 0.0000, 0.0000, 0.0000) 0 4 3.7 1 ( 0.0000, 0.0000, 2.0000) 2 2 2.4 2 ( 0.0000, 1.0000, 2.0000) 1 1.4 1.7 3 ( 0.5000, 1.0000, 2.5000) 0.71 1 1.2 4 ( 0.5000, 1.5000, 2.5000) 0.5 0.71 0.87 5 ( 0.7500, 1.5000, 2.7500) 0.35 0.5 0.61 6 ( 0.7500, 1.7500, 2.7500) 0.25 0.35 0.43 7 ( 0.8750, 1.7500, 2.8750) 0.18 0.25 0.31 8 ( 0.8750, 1.8750, 2.8750) 0.12 0.18 0.22 9 ( 0.9375, 1.8750, 2.9375) 0.088 0.12 0.15 10 ( 0.9375, 1.9375, 2.9375) 0.062 0.088 0.11 jacobi_test() Normal end of execution. 24-Sep-2022 20:40:45