next up previous contents
Next: Debugging Up: Integration Routines Previous: Trapezoidal Rule

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
Tue Jan 22 13:56:31 EST 2002