Question: How can I construct the difference table using the values

Dear Users! Hope everyone is fine here. I have some points x_0,x_1,..,x_N and corresponding to these number have values y_0, _1, ..., y_N as,

restart
a := 1; b := 5; h := 1; f := 1/x; N := (b-a)/h;
for i from 0 while i <= N do x[i] := h*i+a; y[i] := eval(f, x = x[i]) end do;

Now I want to develope the following difference table using the values of y_0, y_1, ..., y_N as,

where difference column generated using the following concept

Please help me in this regard. Thanks in advance

Please Wait...