Wednesday, 23 October 2013

C Program to Evaluate Functions Using Simpson's Rule

  The Program provided in this post evaluates the definite integrals of sin(x), cos(x) and ex. This program is of no serious use. It simply illustrates the working of Simpson's Rule. Simpson's Rule is a method for numerical integration which helps us to find the numerical approximation of definite integrals like the one shown below.
Click here to view the Wikipedia Article on Simpson's Rule.

Figure Below Shows a Sample Output

No comments:

Post a Comment