wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

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

Open in App
Solution

Simpson's Rule Formula is used to calculate the integral value of any function. It calculates the value of the area under any curve over a given interval by dividing the area into equal parts. It follows the method similar to integration by parts.
In order to integrate any function f(x) in the interval (a,b), follow the steps given below:
1) 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.
2) Calculate the width, h=ban
3) Calculate the values of x0 to xn as x0=a,x1=x0+h,,xn1=xn2+h,xn=b
4) Consider y=f(x). Now find the values of y(y0 to yn) for the corresponding x(x0 to xn) values.
5) Substitute all the above found values in the Simpson's Rule Formula to calculate the integral value.

baf(x) dx=h3[(y0+y1)+4(y1+y3++yn1)+2(y2+y4++yn2)]

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Introduction
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon