Home License -- for personal use only. Not for government, academic, research, commercial, or other organizational use. 10-Sep-2024 21:49:43 convergence_test(): MATLAB/Octave version 9.11.0.2358333 (R2021b) Update 7 Test convergence(). convergence_n_test01(): A computation has been carried out with n=2^k intervals, where n = 8, 16, ..., 512, and for each n, the approximation error e(n) was computed. convergence_n() estimates the convergence order. The number of computations was 7 The size n = 2^k was 8 16 32 64 128 256 512 The errors e(n): 0.0117 0.0002 0.0001 0.0000 0.0000 0.0000 0.0000 n(k) error(k) eoc 8 1.17e-02 NaN 16 1.76e-04 6.05 32 9.94e-05 0.82 64 2.40e-06 5.37 128 2.02e-07 3.57 256 6.46e-09 4.97 512 3.07e-10 4.40 eoc mean 4.20 convergence_n_test02(): A computation has been carried out with n=2^k intervals, where n = 8, 16, ..., 512, and for each n, the approximation error e(n) was computed. convergence_n() estimates the convergence order. The number of computations was 6 The size n = 2^k was 4 8 16 32 64 128 The errors e(n): 1.0e-04 * 0.6058 0.2048 0.0566 0.0147 0.0037 0.0009 n(k) error(k) eoc(k) 4 6.06e-05 NaN 8 2.05e-05 1.56 16 5.66e-06 1.85 32 1.47e-06 1.94 64 3.75e-07 1.97 128 9.45e-08 1.99 eoc mean 1.86 convergence_h_test01(): A computation has been carried out with intervals, of size h(k), for k = 1 to 5. For each h, the approximation error e(k) was computed. convergence_h() estimates the convergence order. The number of computations was 5 The mesh sizes h(k): 0.2500 0.1250 0.0625 0.0312 0.0156 The errors e(k): 0.0693 0.0186 0.0048 0.0012 0.0003 h(k) error(k) eoc(k) 0.250000 6.93e-02 NaN 0.125000 1.86e-02 1.90 0.062500 4.80e-03 1.95 0.031250 1.22e-03 1.98 0.015625 3.07e-04 1.99 eoc mean 1.95 convergence_test() Normal end of execution. 10-Sep-2024 21:49:43