#include #include /* plot the output with the command plot "ddif.dat" index 0 with lines,"ddif.dat" index 1 ps 4 pt 5 */ #define N 12 double x[N]; double fx[N]; double dd[N][N]; void matprint(double A[N][N]){ for(int i=0;i=0;j--){ s=dd[0][j]+(t-x[j])*s; } return s; } int main(){ double xmin=-4,xmax=4; for(int i=0;i