SlideShare a Scribd company logo
12
Most read
13
Most read
15
Most read
FAZAIA COLLEGE OF EDUCATION FOR WOMEN
ASSIGNMENT OF NUMERICAL ANALYSIS (Advance Math
VIII)
TOPIC: NUMERICAL INTEGRATION
Submitted to:
Ma’am Mehak
Submitted by:
Amenah Gondal (EDU(S)-2017-F-11)
Class:
B.S.Ed Hons (VIII)
ABSTRACT
Numerical Integration is the approximation computation of an integral using numerical
techniques. The numerical computation of an integral is sometimes called quadrature. We can
use numerical integration ti estimate the values of definite integrals when a closed form of the
integral is difficult to find or when an approximate value only of integral is needed.
The most commonly rules for numerical integration are rectangular, trapezoidal, simpson1/3,
simpson 3/8, boole and weddle rules. We get formulas for these rules by using Newton Cotes
Quadrature Formula by putting values for ‘n’ i.e., n=1,2,…,6. and neglecting higher derivatives
according to the requirement. All these rules can be compared with each other and we can find
that the rule with greater value of ‘n’ has more accurate and exact solution.
NUMERICAL INTEGRATION
1- RECTANGULAR RULE
The formula for rectangular rule is
It is also called Mid-Point formula.
This rule approximates the area under the curve by rectangles whose height is the mid-point of
each sub-interval.
EXAMPLE:
Evaluate the integral using rectangular rule for n=16 and compare with exact
value.
SOLUTION:
Given a=0, b=1, n=16
x 0 0.0625 0.125 0.1875 0.25 0.3125 0.375 0.4375 0.5 0.5625 0.625 0.6875
F(x) 1 0.9961 0.9846 0.9660 0.9412 0.9110 0.8767 0.8393 0.8 0.7596 0.7596 0.6790
0.75 0.8125 0.875 0.9375 1
0.64 0.6024 0.5664 0.5322 0.5
By putting values, we get
2-TRAPEZOIDAL RULE:
The formula for trapezoidal rule is
In this rule, we find area under a curve is evaluated by dividing the total area into little
trapezoids rather than rectangles. This rule is used for n=1 and its multiples.
EXAMPLE:
Calculate the integral where h=0.05 using trapezoidal rule and compare with
exact value.
SOLUTION:
Given a=1.0, b=1.30, h=0.05, n=7
x 1 1.05 1.1 1.15 1.2 1.25 1.30
F(x) 1 1.0246 1.0488 1.072 1.095 1.118 1.14
By putting values, we get
Exact Value:
3-SIMPSON’S RULE:
The formula for simpson’s rule is
Simpson’s 1/3 rule is an extension of the trapezoidal rule in which the integrand is approximated
by a second order polynomial. This rule approximates the definite integral by first approximating
the original function using piecewise quadratic functions. This rule is used for n=2 and its
multiples.
EXAMPLE:
Use simpson’s 1/3 rule for n=4 to calculate correct to four decimal places.
SOLUTION:
Given a=0, b=1, n=4
x 0 0.25 0.5 0.75 1
F(x) 0.7071 0.7012 0.6822 0.6500 0.6065
By putting values, we get
4-SIMPSON’S RULE:
The formula for simpson’s rule is
This rule relies on approximating the curve with a cubic polynomial. This rule is used for n=3
and its multiples.
EXAMPLE:
Evaluate using seven points simpson’s rule.
SOLUTION:
Given a=0.1, b=0.7, n=6
x 0.1 0.2 0.3 0.4 0.5 0.6 0.7
F(x) 0.0997 0.1974 0.2915 0.3805 0.4636 0.5404 0.6107
By putting values, we get
5-BOOLE’S RULE:
The formula for boole’s rule is
This rule can be approximated by a polynomial of 4th
degree so that 5th
and higher derivatives are
vanishes. It can be used for the subinterval i.e., n=4. This rule is used for n=4 and its multiples.
EXAMPLE:
Apply nine points Boole’s rule to evaluate .
SOLUTION:
Given a=0.3, b=0.7, n=8
x 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7
F(x) 2.5377 2.5576 2.5791 2.6021 2.6265 2.6525 2.6799 2.7089 2.7893
By putting values, we get
6-WEDDLE’S RULE:
The formula for weddle’s rule is
This rule approximating the integral of f(x) by giving n=6. It is used to solve multiple integrals.
It can only be used for the sub interval i.e., n=6.
EXAMPLE:
Apply seven point weddles’s rule to evaluate
SOLUTION:
Given a=0, b= , n=6,
x 0
F(x) 0 3.2817 0.42303 0.38898 0.27987 0.13820 0
By putting values, we get
TWO-POINT GUASSIAN QUADRATURE FORMULA
The formula for two point guassian quadrature formula
We use two-point guassian quadrature formula for two point interval i.e., -1 to 1. We use this
formula for evaluating integral without solving integration.
EXAMPLE:
Evaluate using two points guassian quadrature formula.
SOLUTION:
Given
a=0, b=1
Error analysis in numerical integration
ERROR ANALYSIS IN NUMERICAL INTEGRATION
Let be the integrand i.e., the function to be integrated within the limits say either
or where such that
stands for error in the exact value and the approximate value i.e.,
ERROR TERM IN RECTANGULAR RULE:
The amount of error in rectangular rule is
ERROR TERM IN TRAPEZOIDAL RULE:
The magnitude of error in trapezoidal rule is
ERROR TERM IN SIMPSON’S RULE
Using Taylor’s series
The magnitude of error in simpson’s 1/3 rule is
SUMMARY OF ERROR ANALYSIS OF NUMERICAL INTEGRATION
RULES
Sr. # Rule Error
1 Rectangular Rule
2 Trapezoidal Rule
3 Simpson’s 1/3 Rule
4 Simpson’s 3/8 Rule
5 Boole’s Rule
6 Weddle’s Rule
FORMULAS
1. Rectangular Rule:
2. Trapezoidal Rule:
3. Simpson’s 1/3 Rule:
4. Simpson’s 3/8th Rule:
5. Boole’s Rule:
6. Weddle’s Rule:
7. Two Point Guassian Quadrature Formula
REFERENCES
1. Iqbal, D. (n.d.). An introduction to Numerical Analysis. Lahore: Ilmi Kitab Khana.
2. Kiran, E. (2015, 5 22). Slideshare. Retrieved from https://www.slideshare.net
3. N.Shah, P. (2021). AtoZ Maths. Retrieved from https://atozmath.com
4. Saleem, M. (n.d.). Numerical Analysis II. Muzammil Tanveer.
5. Wikipedia. (2021, January 12). Retrieved from https://en.wikipedia.org

More Related Content

PPTX
Basic controls of Visual Basic 6.0
PDF
STRENGTH OF MATERIALS for beginners
PDF
IoT Fundamentals.pdf
PPTX
Real life application of Function.
PPTX
MACHINING TIME CALCULATION
PPTX
Newton's Backward Interpolation Formula with Example
PDF
ejercicios resueltos de algebra del cbc guia 1
PPTX
weddle's rule
Basic controls of Visual Basic 6.0
STRENGTH OF MATERIALS for beginners
IoT Fundamentals.pdf
Real life application of Function.
MACHINING TIME CALCULATION
Newton's Backward Interpolation Formula with Example
ejercicios resueltos de algebra del cbc guia 1
weddle's rule

What's hot (20)

PDF
interpolation
PPTX
Complex analysis
PPT
Null space, Rank and nullity theorem
PPTX
Power series
PPTX
Analytic function
PPTX
Numerical integration
PPTX
Euler and runge kutta method
PPTX
Lagrange’s interpolation formula
PPT
MATLAB : Numerical Differention and Integration
PDF
Integration in the complex plane
PPTX
NUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULA
PDF
Simpson's rule of integration
PDF
Complex function
PDF
Gamma and betta function harsh shah
DOCX
Trapezoidal Method IN Numerical Analysis
PPTX
Simpson’s one third and weddle's rule
PPT
Application of derivatives 2 maxima and minima
PPT
introduction to Numerical Analysis
PPTX
Interpolation
PPTX
Numerical integration;Gaussian integration one point, two point and three poi...
interpolation
Complex analysis
Null space, Rank and nullity theorem
Power series
Analytic function
Numerical integration
Euler and runge kutta method
Lagrange’s interpolation formula
MATLAB : Numerical Differention and Integration
Integration in the complex plane
NUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULA
Simpson's rule of integration
Complex function
Gamma and betta function harsh shah
Trapezoidal Method IN Numerical Analysis
Simpson’s one third and weddle's rule
Application of derivatives 2 maxima and minima
introduction to Numerical Analysis
Interpolation
Numerical integration;Gaussian integration one point, two point and three poi...
Ad

Similar to Error analysis in numerical integration (20)

PPT
Lar calc10 ch04_sec6
PDF
Overviewing the techniques of Numerical Integration.pdf
PDF
Applied Mathematics and Sciences: An International Journal (MathSJ)
PPTX
Numerical integration for engineering students.pptx
PDF
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
PDF
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
PDF
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
PDF
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
PDF
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
PDF
numericalmethods.pdf
PPT
Calc 4.6
PDF
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
PPTX
ROOT OF NON-LINEAR EQUATIONS
PDF
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
PPTX
Using the Pade Technique to Approximate the Function.pptx
PPTX
a a a a a a a a a a a a a a a a aa a a a a 41520z
DOCX
CALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docx
PDF
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
PDF
Q0749397
PDF
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
Lar calc10 ch04_sec6
Overviewing the techniques of Numerical Integration.pdf
Applied Mathematics and Sciences: An International Journal (MathSJ)
Numerical integration for engineering students.pptx
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
numericalmethods.pdf
Calc 4.6
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
ROOT OF NON-LINEAR EQUATIONS
A NEW STUDY TO FIND OUT THE BEST COMPUTATIONAL METHOD FOR SOLVING THE NONLINE...
Using the Pade Technique to Approximate the Function.pptx
a a a a a a a a a a a a a a a a aa a a a a 41520z
CALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docx
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
Q0749397
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
Ad

More from AmenahGondal1 (20)

PPTX
Ethnographic Research
PDF
ARABIC
DOCX
Sdgs and Mdgs
PPTX
Diversity
PPTX
ISOMORPHIC (SIMILAR) ORDERD SETS
PPTX
Connectedness
PPTX
MOTION OF A RIGID BODY IN SPACE
PPTX
Gender Disparity
PPTX
Population Education
PPTX
ORDERED SETS
PPTX
Universal literacy
PPTX
Contour integration and Mittag Leffler theorem
PPTX
Descriptive Research
PPTX
PPTX
Curvature and its types
PPTX
MATHEMATICS TEACHING AIDS
PPTX
IMPACT OF TECHNOLOGY AND MEDIA ON SCHOOL AND CULTURE
PPTX
DEMONSTRATION METHOD
PPTX
UNDETERMINED COEFFICIENT
PPTX
Composition of Forces
Ethnographic Research
ARABIC
Sdgs and Mdgs
Diversity
ISOMORPHIC (SIMILAR) ORDERD SETS
Connectedness
MOTION OF A RIGID BODY IN SPACE
Gender Disparity
Population Education
ORDERED SETS
Universal literacy
Contour integration and Mittag Leffler theorem
Descriptive Research
Curvature and its types
MATHEMATICS TEACHING AIDS
IMPACT OF TECHNOLOGY AND MEDIA ON SCHOOL AND CULTURE
DEMONSTRATION METHOD
UNDETERMINED COEFFICIENT
Composition of Forces

Recently uploaded (20)

PPTX
neck nodes and dissection types and lymph nodes levels
PPTX
Comparative Structure of Integument in Vertebrates.pptx
PPTX
cpcsea ppt.pptxssssssssssssssjjdjdndndddd
PPTX
Derivatives of integument scales, beaks, horns,.pptx
PPTX
EPIDURAL ANESTHESIA ANATOMY AND PHYSIOLOGY.pptx
PDF
The scientific heritage No 166 (166) (2025)
PDF
Phytochemical Investigation of Miliusa longipes.pdf
PPT
Chemical bonding and molecular structure
PPTX
GEN. BIO 1 - CELL TYPES & CELL MODIFICATIONS
PPTX
Taita Taveta Laboratory Technician Workshop Presentation.pptx
PPTX
DRUG THERAPY FOR SHOCK gjjjgfhhhhh.pptx.
PDF
AlphaEarth Foundations and the Satellite Embedding dataset
PPTX
SCIENCE10 Q1 5 WK8 Evidence Supporting Plate Movement.pptx
PDF
IFIT3 RNA-binding activity primores influenza A viruz infection and translati...
PDF
bbec55_b34400a7914c42429908233dbd381773.pdf
PPTX
ANEMIA WITH LEUKOPENIA MDS 07_25.pptx htggtftgt fredrctvg
PPTX
2. Earth - The Living Planet earth and life
PDF
Sciences of Europe No 170 (2025)
PPTX
Cell Membrane: Structure, Composition & Functions
PPTX
Vitamins & Minerals: Complete Guide to Functions, Food Sources, Deficiency Si...
neck nodes and dissection types and lymph nodes levels
Comparative Structure of Integument in Vertebrates.pptx
cpcsea ppt.pptxssssssssssssssjjdjdndndddd
Derivatives of integument scales, beaks, horns,.pptx
EPIDURAL ANESTHESIA ANATOMY AND PHYSIOLOGY.pptx
The scientific heritage No 166 (166) (2025)
Phytochemical Investigation of Miliusa longipes.pdf
Chemical bonding and molecular structure
GEN. BIO 1 - CELL TYPES & CELL MODIFICATIONS
Taita Taveta Laboratory Technician Workshop Presentation.pptx
DRUG THERAPY FOR SHOCK gjjjgfhhhhh.pptx.
AlphaEarth Foundations and the Satellite Embedding dataset
SCIENCE10 Q1 5 WK8 Evidence Supporting Plate Movement.pptx
IFIT3 RNA-binding activity primores influenza A viruz infection and translati...
bbec55_b34400a7914c42429908233dbd381773.pdf
ANEMIA WITH LEUKOPENIA MDS 07_25.pptx htggtftgt fredrctvg
2. Earth - The Living Planet earth and life
Sciences of Europe No 170 (2025)
Cell Membrane: Structure, Composition & Functions
Vitamins & Minerals: Complete Guide to Functions, Food Sources, Deficiency Si...

Error analysis in numerical integration

  • 1. FAZAIA COLLEGE OF EDUCATION FOR WOMEN ASSIGNMENT OF NUMERICAL ANALYSIS (Advance Math VIII) TOPIC: NUMERICAL INTEGRATION Submitted to: Ma’am Mehak Submitted by: Amenah Gondal (EDU(S)-2017-F-11) Class: B.S.Ed Hons (VIII)
  • 2. ABSTRACT Numerical Integration is the approximation computation of an integral using numerical techniques. The numerical computation of an integral is sometimes called quadrature. We can use numerical integration ti estimate the values of definite integrals when a closed form of the integral is difficult to find or when an approximate value only of integral is needed. The most commonly rules for numerical integration are rectangular, trapezoidal, simpson1/3, simpson 3/8, boole and weddle rules. We get formulas for these rules by using Newton Cotes Quadrature Formula by putting values for ‘n’ i.e., n=1,2,…,6. and neglecting higher derivatives according to the requirement. All these rules can be compared with each other and we can find that the rule with greater value of ‘n’ has more accurate and exact solution. NUMERICAL INTEGRATION 1- RECTANGULAR RULE The formula for rectangular rule is It is also called Mid-Point formula. This rule approximates the area under the curve by rectangles whose height is the mid-point of each sub-interval.
  • 3. EXAMPLE: Evaluate the integral using rectangular rule for n=16 and compare with exact value. SOLUTION: Given a=0, b=1, n=16 x 0 0.0625 0.125 0.1875 0.25 0.3125 0.375 0.4375 0.5 0.5625 0.625 0.6875 F(x) 1 0.9961 0.9846 0.9660 0.9412 0.9110 0.8767 0.8393 0.8 0.7596 0.7596 0.6790 0.75 0.8125 0.875 0.9375 1 0.64 0.6024 0.5664 0.5322 0.5 By putting values, we get
  • 4. 2-TRAPEZOIDAL RULE: The formula for trapezoidal rule is In this rule, we find area under a curve is evaluated by dividing the total area into little trapezoids rather than rectangles. This rule is used for n=1 and its multiples. EXAMPLE: Calculate the integral where h=0.05 using trapezoidal rule and compare with exact value. SOLUTION: Given a=1.0, b=1.30, h=0.05, n=7 x 1 1.05 1.1 1.15 1.2 1.25 1.30 F(x) 1 1.0246 1.0488 1.072 1.095 1.118 1.14
  • 5. By putting values, we get Exact Value: 3-SIMPSON’S RULE: The formula for simpson’s rule is Simpson’s 1/3 rule is an extension of the trapezoidal rule in which the integrand is approximated by a second order polynomial. This rule approximates the definite integral by first approximating the original function using piecewise quadratic functions. This rule is used for n=2 and its multiples.
  • 6. EXAMPLE: Use simpson’s 1/3 rule for n=4 to calculate correct to four decimal places. SOLUTION: Given a=0, b=1, n=4 x 0 0.25 0.5 0.75 1 F(x) 0.7071 0.7012 0.6822 0.6500 0.6065 By putting values, we get 4-SIMPSON’S RULE: The formula for simpson’s rule is This rule relies on approximating the curve with a cubic polynomial. This rule is used for n=3 and its multiples.
  • 7. EXAMPLE: Evaluate using seven points simpson’s rule. SOLUTION: Given a=0.1, b=0.7, n=6 x 0.1 0.2 0.3 0.4 0.5 0.6 0.7 F(x) 0.0997 0.1974 0.2915 0.3805 0.4636 0.5404 0.6107 By putting values, we get 5-BOOLE’S RULE: The formula for boole’s rule is This rule can be approximated by a polynomial of 4th degree so that 5th and higher derivatives are vanishes. It can be used for the subinterval i.e., n=4. This rule is used for n=4 and its multiples.
  • 8. EXAMPLE: Apply nine points Boole’s rule to evaluate . SOLUTION: Given a=0.3, b=0.7, n=8 x 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 F(x) 2.5377 2.5576 2.5791 2.6021 2.6265 2.6525 2.6799 2.7089 2.7893 By putting values, we get 6-WEDDLE’S RULE: The formula for weddle’s rule is This rule approximating the integral of f(x) by giving n=6. It is used to solve multiple integrals. It can only be used for the sub interval i.e., n=6.
  • 9. EXAMPLE: Apply seven point weddles’s rule to evaluate SOLUTION: Given a=0, b= , n=6, x 0 F(x) 0 3.2817 0.42303 0.38898 0.27987 0.13820 0 By putting values, we get TWO-POINT GUASSIAN QUADRATURE FORMULA The formula for two point guassian quadrature formula We use two-point guassian quadrature formula for two point interval i.e., -1 to 1. We use this formula for evaluating integral without solving integration. EXAMPLE: Evaluate using two points guassian quadrature formula. SOLUTION: Given a=0, b=1
  • 11. ERROR ANALYSIS IN NUMERICAL INTEGRATION Let be the integrand i.e., the function to be integrated within the limits say either or where such that stands for error in the exact value and the approximate value i.e., ERROR TERM IN RECTANGULAR RULE: The amount of error in rectangular rule is
  • 12. ERROR TERM IN TRAPEZOIDAL RULE: The magnitude of error in trapezoidal rule is
  • 13. ERROR TERM IN SIMPSON’S RULE Using Taylor’s series
  • 14. The magnitude of error in simpson’s 1/3 rule is
  • 15. SUMMARY OF ERROR ANALYSIS OF NUMERICAL INTEGRATION RULES Sr. # Rule Error 1 Rectangular Rule 2 Trapezoidal Rule 3 Simpson’s 1/3 Rule 4 Simpson’s 3/8 Rule 5 Boole’s Rule 6 Weddle’s Rule
  • 16. FORMULAS 1. Rectangular Rule: 2. Trapezoidal Rule: 3. Simpson’s 1/3 Rule: 4. Simpson’s 3/8th Rule: 5. Boole’s Rule: 6. Weddle’s Rule: 7. Two Point Guassian Quadrature Formula
  • 17. REFERENCES 1. Iqbal, D. (n.d.). An introduction to Numerical Analysis. Lahore: Ilmi Kitab Khana. 2. Kiran, E. (2015, 5 22). Slideshare. Retrieved from https://www.slideshare.net 3. N.Shah, P. (2021). AtoZ Maths. Retrieved from https://atozmath.com 4. Saleem, M. (n.d.). Numerical Analysis II. Muzammil Tanveer. 5. Wikipedia. (2021, January 12). Retrieved from https://en.wikipedia.org