/* File: linear_spaced.c Generates linearly spaced atat for an array with N elements from x0 to xf*/ #include #define N 11 int main() { double x[N], x0 = 0.0, xf = 5.0; double j = x0; int i; printf("%-4c",'c'); /* generate linearly spaced data for an array with N elements */ double step = (xf - x0)/((double)N); for(i=0;i