/* Trapezoid
   CS004 Final Exam
   Student: 
*/
#include <stdio.h>

double trapezoid(double h,double x1,double x2,double a,double b,double c,double d);

/* Calculates the area under the polynomial ax^3 + bx^2 + cx + d
   using the trapezoidal rule */ 
int main(){
	/* Fill this in */

	return 0;
}

/* Takes input arguments h, x1, x2, a, b, c, and d and 
   returns the area of a single trapezoid with those parameters */
double trapezoid(double h,double x1,double x2,double a,double b,double c,double d){
	/* Fill this in */
	
}
