
 (You can compile the *.c files directly without create a project)

 
      Approximate the definite integral by using the trapezoidal's rule.
    
        c04g1A.c  : f : x->   sqrt(x)
        c04g1B.c  : f : x-> 1/sqrt(x)
        c04g1C.c  : f : x->   sin(x)
        c04g1D.c  : f : x->   exp(x)
        c04g1E.c  : f : x->   log(x)

 
       Approximate the definite integral by using the Simpson's rule.
    
        c04g2A.c  : f : x->   sqrt(x)
        c04g2B.c  : f : x-> 1/sqrt(x)
        c04g2C.c  : f : x->   sin(x)
        c04g2D.c  : f : x->   exp(x)
        c04g2E.c  : f : x->   log(x)

 



     