Ask a Question

what is the program of newton\'s forward interpolation without using functio and pointer??

on 2010-08-19 16:59:07   by sumedha   on Information Technology  1 answers

Administrator

on 2010-08-19 09:30:00  

// NEWTONS FORWARD INTERPOLATION FORMULAE #include #include float com(float u,int i); float fact(int i); void box (int x,int y,int l,int b); void main() { int n,i,j,k; float x[10],y[10],m[10][10],x1,u,y1; clrscr(); // Data Input Section box(20,10,2,10); gotoxy(23,11); printf(\" N -> \"); gotoxy(29,11); scanf(\"%d\",&n); clrscr(); box(4,5,2,3); gotoxy(6,6); printf(\"X ->\"); box(4,15,2,4); gotoxy(6,16); printf(\"Y ->\"); for(i=0,j=12;i