The program calculates the value of the function for a given x and a given step using the QUANC8 program.
In the program
Builds a spline function and a Lagrange polynomial of degree 10 from the obtained points.
Compares the values of the spline function and the polynomial with the exact values of the function at the points
quanc8.h
and spline.h
are library programs