14-Feb-2019 07:51:52 legendre_rule_test: MATLAB version Test legendre_rule. 14-Feb-2019 07:51:52 LEGENDRE_RULE MATLAB version 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. 14-Feb-2019 07:51:52 legendre_rule_test: Normal end of execution. 14-Feb-2019 07:51:52