Solveeit Logo

Question

Question: Write Simpson’s one-third rule formula in numerical methods....

Write Simpson’s one-third rule formula in numerical methods.

Explanation

Solution

Simpson’s rule formula is used to calculate the integral value of any function. It calculates the value of the area under the curve over a given interval by dividing the area into equal parts. It follows the method similar to integration by parts.

Complete step by step solution:
Step – 1 : In order to integrate any function f(x)f(x) in the interval (a,b)\left( {a,b} \right) follow the steps given below.
Select a value for n, which is the number of parts the interval is divided into. Let the value of n be an even number.
Step – 2 : Calculate the width, is denoted byhh using formula for find width (h)=bgn\left( h \right) = \dfrac{{b - g}}{n}
Where a and b denoted the interval (a,b)\left( {a,b} \right)
Step – 3 : Calculate the value of x0{x_0} to xn{x_n} as x0=9{x_0} = 9, x1=x0+h,.......xn1=xn2+h,xn=b{x_1} = {x_0} + h,.......{x_{n - 1}} = {x_{n - 2}} + h,{x_n} = b

Step – 4 : Substitute all the above found value, in the Simpson’s rule formula to calculate the integral value.
abf(x)dx=h3[(y0+y1)+y(y1+y3+...+yn1)+2(y2+y4+...+yn2)]\int\limits_a^b {f(x)dx = \dfrac{h}{3}} \left[ {\left( {{y_0} + {y_1}} \right) + y\left( {{y_1} + {y_3} + ... + {y_{n - 1}}} \right) + 2\left( {{y_2} + {y_4} + ... + {y_{n - 2}}} \right)} \right]

Note: Integration is the process of measuring the area under a function plotted on a graph. Sometimes, the evaluation of expression involving these integrals can become daunting, if not indeterminate.
Here, we will discuss the Simpson’s 13\dfrac{1}{3} rule of approximating integrals of the form
I=abf(x)dxI = \int\limits_a^b {f(x)dx} Where, f(x)f(x) is called integral
a = lower limit of integration
b = upper limit of integration
Simpson’s 13\dfrac{1}{3} rule is an extension of Trapezoidal rule where the integral is approximated by a second order polynomial.

Note: