07-Jan-2022 22:42:40 legendre_rule_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Test legendre_rule(). legendre_rule() MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Compute a Gauss-Legendre rule for approximating Integral ( A <= x <= B ) f(x) dx of order ORDER. The user specifies ORDER, A, B, and FILENAME. ORDER is the number of points; A is the left endpoint; B is the right endpoint; FILENAME is used to generate 3 files: filename_w.txt - the weight file filename_x.txt - the abscissa file. filename_r.txt - the region file. ORDER = 4 A = -1.000000 B = 1.000000 FILENAME = "leg_o4". Creating quadrature files. "Root" file name is "leg_o4". Weight file will be "leg_o4_w.txt". Abscissa file will be "leg_o4_x.txt". Region file will be "leg_o4_r.txt". legendre_rule(): Normal end of execution. legendre_rule_test(): Normal end of execution. 07-Jan-2022 22:42:40