13 August 2025 03:30:22 PM lagrange_test(): C++ version Test lagrange() lagrange_basis_antideriv_test(): lagrange_basis_antideriv() evaluates the antiderivative of a Lagrange basis polynomial. Created graphics data file 'lagrange_basis_antideriv_data.txt' Created graphics data file 'lagrange_basis_antideriv_data2.txt' Created graphics command file 'lagrange_basis_antideriv_commands.txt'. lagrange_basis_coef_test(): lagrange_basis_coef() returns the coefficients for a Lagrange basis polynomial. Abscissas: 0: -3 1: -2 2: -1 3: 0 4: 1 5: 2 6: 3 L(0)(x) p(x) = 4.00193e-322 * x ^ 7 + 0.00138889 * x ^ 6 - 0.00416667 * x ^ 5 - 0.00694444 * x ^ 4 + 0.0208333 * x ^ 3 + 0.00555556 * x ^ 2 - 0.0166667 * x L(1)(x) p(x) = 4.00193e-322 * x ^ 7 - 0.00833333 * x ^ 6 + 0.0166667 * x ^ 5 + 0.0833333 * x ^ 4 - 0.166667 * x ^ 3 - 0.075 * x ^ 2 + 0.15 * x L(2)(x) p(x) = 4.00193e-322 * x ^ 7 + 0.0208333 * x ^ 6 - 0.0208333 * x ^ 5 - 0.270833 * x ^ 4 + 0.270833 * x ^ 3 + 0.75 * x ^ 2 - 0.75 * x L(3)(x) p(x) = 4.00193e-322 * x ^ 7 - 0.0277778 * x ^ 6 + 0.388889 * x ^ 4 + 1.11022e-16 * x ^ 3 - 1.36111 * x ^ 2 - 5.55112e-17 * x + 1 L(4)(x) p(x) = 4.00193e-322 * x ^ 7 + 0.0208333 * x ^ 6 + 0.0208333 * x ^ 5 - 0.270833 * x ^ 4 - 0.270833 * x ^ 3 + 0.75 * x ^ 2 + 0.75 * x L(5)(x) p(x) = 4.00193e-322 * x ^ 7 - 0.00833333 * x ^ 6 - 0.0166667 * x ^ 5 + 0.0833333 * x ^ 4 + 0.166667 * x ^ 3 - 0.075 * x ^ 2 - 0.15 * x L(6)(x) p(x) = 4.00193e-322 * x ^ 7 + 0.00138889 * x ^ 6 + 0.00416667 * x ^ 5 - 0.00694444 * x ^ 4 - 0.0208333 * x ^ 3 + 0.00555556 * x ^ 2 + 0.0166667 * x lagrange_basis_deriv_test(): lagrange_basis_deriv() evaluates the derivative of a Lagrange basis polynomial. Created graphics data file 'lagrange_basis_deriv_data.txt' Created graphics data file 'lagrange_basis_deriv_data2.txt' Created graphics command file 'lagrange_basis_deriv_commands.txt'. lagrange_basis_deriv2_test(): lagrange_basis_deriv2() evaluates the second derivative of a Lagrange basis polynomial. Created graphics data file 'lagrange_basis_deriv2_data.txt' Created graphics data file 'lagrange_basis_deriv2_data2.txt' Created graphics command file 'lagrange_basis_deriv2_commands.txt'. lagrange_basis_value_test(): lagrange_basis_value() evaluates a Lagrange basis polynomial. Created graphics data file 'lagrange_basis_value_data.txt' Created graphics data file 'lagrange_basis_value_data2.txt' Created graphics command file 'lagrange_basis_value_commands.txt'. lagrange_test(): Normal end of execution. 13 August 2025 03:30:22 PM