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
Sat Jan 27 11:22:12 EST 2001