Simpson's Rule

Write a function of the following form:

double simpint(double f[],double r[],double dr[],int N)

Return value:

Input:



Tomas Arias 2004-01-26