#include
#define NC 6
#define N 10
int main()
{
int i,j,k;
array double c[NC]={1.0,-5.0,10.0,-10.0,5.0,-1.0};
array double x[N],val[N];
for (i=0; i
x value function evalulate
0.200000 -0.327680
0.400000 -0.077760
0.600000 -0.010240
0.800000 -0.000320
1.000000 0.000000
1.200000 0.000320
1.400000 0.010240
1.600000 0.077760
1.800000 0.327680
2.000000 1.000000