/* test drive diffeq.c function delist */ #include #include "diffeq.h" int main() { int i; /* table of DE calculations */ struct deline detable[TABLELINES]; delist(0, 2.0, 10, detable); for (i = 0; i< TABLELINES; i++) { printf("%+7.6g %+7.6g %+7.6g %+7.6g\n", detable[i].x, detable[i].f_x, detable[i].f_of_x, detable[i].error); } return 0; }