#include #include #include float y(float ); void main() { unsigned int dp; float xi,xf; clrscr(); printf("Enter the No. of Data points "); scanf("%u", &dp); printf("Enter the Starting & ending \"X\" Values: "); scanf("%f %f",&xi, &xf); float step = (float) ((xf - xi) / dp); float integral=0.0, temp; for(int i=1; i