Skip to content

satchamo/Numerical-Integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

integrate.c implements four numerical integration procedures including:
    - The trapezoid rule
    - Simpson's one-third rule
    - Simpson's three-eighths rule
    - Boole's rule

Each function takes as arguments:
   - a pointer to a function with one argument (i.e. f(x))
   - the left bound on the interval of integration
   - the right bound on the interval of integration
   - the number of samples to perform on the interval

See main.c for an example.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages