08-Jan-2022 07:59:16 quadrature_weights_vandermonde_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Test quadrature_weights_vandermonde(). quadrature_weights_vandermonde_test01: Use the Vandermonde procedure to compute the quadrature weights for a Newton-Cotes rule. Order N = 5 Interval = [0,1] Abscissas: 1: 0 2: 0.25 3: 0.5 4: 0.75 5: 1 Matrix: Col: 1 2 3 4 5 Row 1 : 1 1 1 1 1 2 : 0 0.25 0.5 0.75 1 3 : 0 0.0625 0.25 0.5625 1 4 : 0 0.015625 0.125 0.421875 1 5 : 0 0.00390625 0.0625 0.316406 1 Right hand side: 1: 1 2: 0.5 3: 0.333333 4: 0.25 5: 0.2 Weights: 1: 0.0777778 2: 0.355556 3: 0.133333 4: 0.355556 5: 0.0777778 quadrature_weights_vandermonde_test02 Use the Vandermonde procedure to compute the quadrature weights for a Clenshaw-Curtis rule. Order N = 5 Interval is [-1,1] Abscissas: 1: -1 2: -0.707107 3: 5.55112e-17 4: 0.707107 5: 1 Matrix: Col: 1 2 3 4 5 Row 1 : 1 1 1 1 1 2 : -1 -0.707107 5.55112e-17 0.707107 1 3 : 1 0.5 3.08149e-33 0.5 1 4 : -1 -0.353553 1.71057e-49 0.353553 1 5 : 1 0.25 9.49557e-66 0.25 1 Right hand side: 1: 2 2: 0 3: 0.666667 4: 0 5: 0.4 Weights: 1: 0.0666667 2: 0.533333 3: 0.8 4: 0.533333 5: 0.0666667 quadrature_weights_vandermonde_test(): Normal end of execution. 08-Jan-2022 07:59:16