# Simpsons 1/3 Rule C Program

## 2 Ways For Simpsons 1/3 Rule in C Programming

Let’s understand the Simpson’s 1/3rd rule method in numerical analysis and implement Simpsons 1/3 rule in C programming language.

#### What is Simpsons 1/3 Rule?

The Simpson’s 1/3rd rule is used in numerical integration. Integration is the process of measuring the area under a function plotted on a graph. The Simpson’s 1/3rd rule was developed by a mathematician named Thomas Simpson.

The Simpson’s 1/3rd integration method is primarily used for numerical approximation of definite integrals. This specifically means that Simpson’s integration rule is used in complex integration calculations.

Must Read: C Program For Simpson’s 3/8 Rule

It is a method to approximately calculate the definite integral. The Simpson’s theorem is used to find the area under a given curve. The Simpson’s method corresponds to the 3-point Newton-Cotes quadrature rule as well.

The Simpson’s integration method is a little time consuming compared to other methods in numerical analysis and is also a little difficult to implement computationally.

#### Algorithm For Simpson’s 1/3 Rule

Must Read: C Program For Trapezoidal Rule

Note: This C Program for Simpson’s 1/3 rule is compiled with GNU GCC compiler on CodeLite IDE. However, it is compatible with all other operating systems.

#### Output

Must Read: Secant Method C Program

Note: This C Program for Simpsons Integration 1/3 rule is compiled with GNU GCC compiler on Linux Ubuntu operating system. However, it is compatible with all other operating systems.

#### Method 2: C Program For Simpsons 1/3 Rule without using Function

Must Read: Find Sum of Two Complex Numbers in C Programming

#### Output

Let’s discuss more on Simpsons 1/3 Rule C program in the comment section below if you have any compilation errors and any doubts about the same. For more information on Simpsons integration methods, check Wikipedia.

## 9 thoughts on “Simpsons 1/3 Rule C Program”

1. Apurva Dixit

Why to waste time by writing a C Program for Simpson’s Rule? Who sees such kinds of C Programs these days?

1. Tushar Soni Post author

You may be thinking right. But, once in a bluemoon, someone may search for these kind of C programs. My main motive is to make Internet a resourceful place. I believe if any article is correct and holds some value, it should be there on the internet.

2. Asha Bhosale

This code is too good. Thanks for such an easy program for Simpson’s Formula in C Programming

3. Akanksha Agarwal

Thanks for the integration by simpson 1/3 and 3/8 rule in c programming. This has made my day. 🙂

4. Jason

Why waste time? He’s not. For one thing, if you bothered to THINK, you’d have realized that by just reading the C code, you get the ALGORITHM that you can render in any language you choose. And it also happens that Pascal and C are the basis for a great many modern languages today. Not to mention C is still in use in embedded systems because of its speed and it’s ability in IO and operating system interfacing. A lot of drivers are written in C START THINKING!

5. Parag Vidhate

How can I solve Simpsons Rule in C Programming For 3/8th Rule? Can I modify this program?

6. Alfonso Guevara

To what function in is this being applied to? I only see see the Simpson rule