This C program involves dividing the area under a given curve into
very narrow bars. The area of each bar is calculated, and areas are
summed together. the total sum of all the areas between the 2
boundary limits is the value of integration.
Here is the source code:
You can select and copy the above source code, paste it to your C
compiler, and use it as you like. You can also download it in a text
file, just click here.