//numerical differences //this takes experimental data for x and f(x) //the data is used to calculate the values for //the function in areas where we have no data //this example hard codes the data for x^3 at the values //x = 0, 1, 3, 4, 7, 9 //getting x and f(x) from the user will be more useful public class differences { public static void main ( String args[] ) { int arraysize = 6; int x[] = { 0, 1, 3, 4, 7, 9 }; int f_of_x[] = { 0, 1, 27, 64, 343, 729 }; int x1[] = new int[arraysize]; int x2[] = new int[arraysize]; int x3[] = new int[arraysize]; int x4[] = new int[arraysize]; //initialize stuff for ( int i=0; i