function polynomial (0 4 -4 1); x0 -0.5; x1 2.5; nX 51;