Simpson’s 1/3rd program in c for tabulated values
Simpson’s 1/3rd program in c for tabulated values #include<stdio.h>#include<conio.h>#include<math.h>void main(){ int i,n; float x[6],y[6],u,k,h=0.05,s,s2,s4,integral; clrscr(); for(i=0;i<7;i++) { printf(“enter x[%d]”,i); scanf(“%f”,&x[i]);
Read more