#include "header.h" void MakeTable(int nMin,int nMax,double xMin,double xMax,double dx,double (* function)(int,double)) { int inc; //the increament of x int i; double j; double ans; double tmp; //used to store the value of x; inc=(int)floor((xMax-xMin)/dx); printf("the increament of x is %d\n",inc); printf("the value of xMin is %lf\n",xMin); printf("the value of xMax is %lf\n",xMax); printf("the power is increased from nMin=%d to nMax= %d \n\n",nMin,nMax); for(i=nMin;i<=nMax;i++) { for(j=0;j