SlideShare a Scribd company logo
2
Most read
3
Most read
10
Most read
COMPUTING
METHODS
K16-3791 Uzair Hussain K16-3778
Bilal Khan K16-3769
Muzammil Asrar K15-2251 Sanjay
Babu
SIR JAMIL USMANI
------------------------
FAST NUCES
10/5/2018
CONTENTS:
 History and background of Numerical
Integration
 Flowchart, Algorithms and Programs
 Pros & Cons of Numerical Integration
 Summary
 References
HISTORY OF
NUMERICAL
INTEGRATION
The term "numerical integration" first appears in 1915 in the publication A Course in Interpolation
and Numeric Integration for the Mathematical Laboratory by David Gibb.
The beginnings of numerical integration have its roots in antiquity. A prime example of
how ancient these methods are, is the Greek quadrature of the circle by means of inscribed and
circumscribed regular polygons. This process led Archimedes to an upper bound and lower bound for the value Pi.
These methods were used widely due to the lack of formal calculus. The method
of the sum of an infinitesimal area over a finite range was unknown until the sixteenth century
when Newton formalized the concepts of what we know now know as calculus. The earliest forms
of numerical integration are similar to that of the Greek method of inscribing regular polygons
into curved functions. This process broken down was taking a known area and overlapping it with
an unknown area to approximate the area of the unknown shape. One could improve accuracy by
choosing a better fitting shape. Later methods decided to improve upon estimating area under a
curve decided to use more polygons but smaller in area. Such an example is the use of rectangles
evenly spaced under a curve to estimate the area. Even further improvements saw the use of
trapezoids instead of rectangles to better fit the curvature of the function being analyzed. Today
the best methods for numerical integration are known as quadrature methods that have a very
small error.
Start
Input ‘eq’
equation, limits
‘x0, x1’ & ‘N’
If N == 1
Formulate
Trapezoid
Equation
Formulate
Simpson’s
1/3 Equation
Formulate
Simpson’s
3/8 Equation
If N == 2
If N == 3
A
N
Yes
Yes
Yes
No
No
No
CLOSED
NEWTON
CROOTES
A
N
=
=
1
If N == 4
Formulate
Boole’s
Equation
Default
Invalid
Input
Show ‘ans’
Answer
End
End
Yes
Yes
No
Start
Input ‘eq’
equation, limits
‘x0, x1’ & ‘N’
If N == 1
Formulate
using
Formula 1
Formulate
using
Formula 2
Formulate
using
Formula 3
If N == 2
If N == 3
A
N
=
Yes
Yes
Yes
No
No
No
OPEN
NEWTON
CROOTES
A
N
=
=
1
If N == 4
Formulate
using
Formula 4
Default
Invalid
Input
Show ‘ans’
Answer
End
End
Yes
Yes
No
Start
Eq = equation input
N = respective formulae
X0 = input lower limit
X1 = input upper limit
H = (x1 – x0)/2
Switch case ‘N’
(N == 1)
answer = [h/2 * (res(x0) + res(x0+h))]
(N == 2)
answer = [h/3 * (res(x0) + 4*res(x0+h) + res(x0+2*h))]
(N == 3)
answer = [3*h/8 * (res(x0) + 3*res(x0+h) +
3*res(x0+2*h) + res(x0+3*h))]
(N == 4) answer = [ 2*h/45 * (7*res(x0) + 32*res(x0+h)
+ 12*res(x0+2*h) + 32*res(x0+3*h) + 7*res(x0+4*h))]
End switch case
Print answer
End.
CLOSED
NEWTON
CROOTES
]
Start
Eq = equation input
N = respective formulae
X0 = input lower limit
X1 = input upper limit
H = (x1 – x0)/2
Switch case ‘N’
(N == 1)
answer = [(2*h) * (res(x0))]
(N == 2)
answer = [(3*h)/2 * (res(x0) + res(x0+h))]
(N == 3)
answer = [(4*h)/3 * (2*res(x0) - res(x0+h) +
2*res(x0+2*h))]
(N == 4) answer = [5*h/24 * (11*res(x0) + res(x0+h) +
res(x0+2*h) + 11*res(x0+3*h))]
End switch case
Print answer
End.
OPEN
NEWTON
CROOTES
Reasons for numerical integration
There are several reasons for carrying out numerical integration.
1. The integrand f(x) may be known only at certain points, such as obtained by sampling. Some
embedded system and other computer applications may need numerical integration for this reason.
2. A formula for the integrand may be known, but it may be difficult or impossible to find an
antiderivative that is an elementary function. An example of such an integrand is f(x) = exp (−x2),
the antiderivative of which (the error function, times a constant) cannot be written in elementary
form.
3. It may be possible to find an antiderivative symbolically, but it may be easier to compute a
numerical approximation than to compute the antiderivative. That may be the case if the
antiderivative is given as an infinite series or product, or if its evaluation requires a special function
that is not available.
Applications:
it helps to
 Find the area
 Locate the centroid
 Find the arc length of graph
 Find the surface area of solid
 Find the volume of a solid figure
 Solve for the work done
 Solve the moment of inertia
It is also used to find
 Water plane area
 Sectional area
 Submerged volume
 Longitudinal center of floatation
Pros
PROS & CONS
FOR NUMERICAL
INTEGRATION
 Possible to integrate any function
 Multidimensional integrals are straightforward
 Ability to solve integrals along irregular domains in multidimensional spaces (any shape).
 Numerical integration gives you an answer to some problems that analytic techniques don’t.
Cons
 There is an intrinsic error in calculation
 Numerical integrals are, always, computationally expensive.
SUMMARY AND
REFRENCES
 Wikipedia
 Quora
 California University papers
 MATLAB Documentation
In numerical analysis, numerical integration constitutes a broad family of
algorithms for calculating the numerical value of a definite integral, and by
extension, the term is also sometimes used to describe the numerical solution of
differential equations. This article focuses on calculation of definite integrals. The term
numerical quadrature (often abbreviated to quadrature) is more or less a synonym
for numerical integration, especially as applied to one-dimensional integrals.
Integration has been there since even before the proper use of calculus. In modern
day integration has led to some great creations including the petronas towers and
the Sydney opera house.

More Related Content

PPTX
Numerical integration
PPTX
Presentation on Numerical Integration
PPTX
Lagrange’s interpolation formula
PPT
introduction to Numerical Analysis
PPTX
presentation on Euler and Modified Euler method ,and Fitting of curve
PPT
Numerical integration
PPT
MATLAB : Numerical Differention and Integration
DOCX
Gauss elimination method
Numerical integration
Presentation on Numerical Integration
Lagrange’s interpolation formula
introduction to Numerical Analysis
presentation on Euler and Modified Euler method ,and Fitting of curve
Numerical integration
MATLAB : Numerical Differention and Integration
Gauss elimination method

What's hot (20)

PDF
Quadratic programming (Tool of optimization)
PPTX
NUMERICAL INTEGRATION AND ITS APPLICATIONS
PPT
Secant Method
PPTX
Trapezoidal rule
PPT
08 interpolation lagrange
PPTX
weddle's rule
PPT
Numerical integration
PPTX
Interpolation
PPTX
Error Finding in Numerical method
PPT
Newton raphson method
PPTX
False Point Method / Regula falsi method
PPTX
Gaussian Elimination Method
PPT
Application of integral calculus
PPTX
Euler and runge kutta method
PPTX
trapezoidal and simpson's 1/3 and 3/8 rule
PDF
Integral calculus
PDF
Numerical Computing
PPTX
Regula falsi method
PPT
Newton divided difference interpolation
Quadratic programming (Tool of optimization)
NUMERICAL INTEGRATION AND ITS APPLICATIONS
Secant Method
Trapezoidal rule
08 interpolation lagrange
weddle's rule
Numerical integration
Interpolation
Error Finding in Numerical method
Newton raphson method
False Point Method / Regula falsi method
Gaussian Elimination Method
Application of integral calculus
Euler and runge kutta method
trapezoidal and simpson's 1/3 and 3/8 rule
Integral calculus
Numerical Computing
Regula falsi method
Newton divided difference interpolation
Ad

Similar to Numerical Integration Project Report (20)

PDF
Applied Mathematics and Sciences: An International Journal (MathSJ)
PDF
Efficient Accuracy: A Study on Numerical Integration.
PDF
01.01 vector spaces
PDF
NUMERICA METHODS 1 final touch summary for test 1
PPT
Calc 4.6
DOCX
Numerical Analysis and Computer Applications
PPTX
NUMERICAL METHODS
PDF
Symbolic Computation via Gröbner Basis
PPTX
HOME ASSIGNMENT.pptxcfccfggcccgggvvvvgggg
PDF
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
PDF
NP Complete Problems in Graph Theory
PDF
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
PDF
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
PPTX
Application's of Numerical Math in CSE
DOCX
Informe #1 de metodos
PDF
Error analysis in numerical integration
PDF
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
PDF
Overviewing the techniques of Numerical Integration.pdf
PDF
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...
Applied Mathematics and Sciences: An International Journal (MathSJ)
Efficient Accuracy: A Study on Numerical Integration.
01.01 vector spaces
NUMERICA METHODS 1 final touch summary for test 1
Calc 4.6
Numerical Analysis and Computer Applications
NUMERICAL METHODS
Symbolic Computation via Gröbner Basis
HOME ASSIGNMENT.pptxcfccfggcccgggvvvvgggg
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
NP Complete Problems in Graph Theory
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
Application's of Numerical Math in CSE
Informe #1 de metodos
Error analysis in numerical integration
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
Overviewing the techniques of Numerical Integration.pdf
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...
Ad

Recently uploaded (20)

PDF
RMMM.pdf make it easy to upload and study
PDF
Classroom Observation Tools for Teachers
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Institutional Correction lecture only . . .
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Cell Structure & Organelles in detailed.
PPTX
master seminar digital applications in india
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Cell Types and Its function , kingdom of life
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Microbial disease of the cardiovascular and lymphatic systems
RMMM.pdf make it easy to upload and study
Classroom Observation Tools for Teachers
Anesthesia in Laparoscopic Surgery in India
Module 4: Burden of Disease Tutorial Slides S2 2025
Institutional Correction lecture only . . .
2.FourierTransform-ShortQuestionswithAnswers.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Cell Structure & Organelles in detailed.
master seminar digital applications in india
TR - Agricultural Crops Production NC III.pdf
Renaissance Architecture: A Journey from Faith to Humanism
Cell Types and Its function , kingdom of life
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPH.pptx obstetrics and gynecology in nursing
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Microbial disease of the cardiovascular and lymphatic systems

Numerical Integration Project Report

  • 1. COMPUTING METHODS K16-3791 Uzair Hussain K16-3778 Bilal Khan K16-3769 Muzammil Asrar K15-2251 Sanjay Babu SIR JAMIL USMANI ------------------------ FAST NUCES 10/5/2018
  • 2. CONTENTS:  History and background of Numerical Integration  Flowchart, Algorithms and Programs  Pros & Cons of Numerical Integration  Summary  References
  • 3. HISTORY OF NUMERICAL INTEGRATION The term "numerical integration" first appears in 1915 in the publication A Course in Interpolation and Numeric Integration for the Mathematical Laboratory by David Gibb. The beginnings of numerical integration have its roots in antiquity. A prime example of how ancient these methods are, is the Greek quadrature of the circle by means of inscribed and circumscribed regular polygons. This process led Archimedes to an upper bound and lower bound for the value Pi. These methods were used widely due to the lack of formal calculus. The method of the sum of an infinitesimal area over a finite range was unknown until the sixteenth century when Newton formalized the concepts of what we know now know as calculus. The earliest forms of numerical integration are similar to that of the Greek method of inscribing regular polygons into curved functions. This process broken down was taking a known area and overlapping it with an unknown area to approximate the area of the unknown shape. One could improve accuracy by choosing a better fitting shape. Later methods decided to improve upon estimating area under a curve decided to use more polygons but smaller in area. Such an example is the use of rectangles evenly spaced under a curve to estimate the area. Even further improvements saw the use of trapezoids instead of rectangles to better fit the curvature of the function being analyzed. Today the best methods for numerical integration are known as quadrature methods that have a very small error.
  • 4. Start Input ‘eq’ equation, limits ‘x0, x1’ & ‘N’ If N == 1 Formulate Trapezoid Equation Formulate Simpson’s 1/3 Equation Formulate Simpson’s 3/8 Equation If N == 2 If N == 3 A N Yes Yes Yes No No No CLOSED NEWTON CROOTES
  • 5. A N = = 1 If N == 4 Formulate Boole’s Equation Default Invalid Input Show ‘ans’ Answer End End Yes Yes No
  • 6. Start Input ‘eq’ equation, limits ‘x0, x1’ & ‘N’ If N == 1 Formulate using Formula 1 Formulate using Formula 2 Formulate using Formula 3 If N == 2 If N == 3 A N = Yes Yes Yes No No No OPEN NEWTON CROOTES
  • 7. A N = = 1 If N == 4 Formulate using Formula 4 Default Invalid Input Show ‘ans’ Answer End End Yes Yes No
  • 8. Start Eq = equation input N = respective formulae X0 = input lower limit X1 = input upper limit H = (x1 – x0)/2 Switch case ‘N’ (N == 1) answer = [h/2 * (res(x0) + res(x0+h))] (N == 2) answer = [h/3 * (res(x0) + 4*res(x0+h) + res(x0+2*h))] (N == 3) answer = [3*h/8 * (res(x0) + 3*res(x0+h) + 3*res(x0+2*h) + res(x0+3*h))] (N == 4) answer = [ 2*h/45 * (7*res(x0) + 32*res(x0+h) + 12*res(x0+2*h) + 32*res(x0+3*h) + 7*res(x0+4*h))] End switch case Print answer End. CLOSED NEWTON CROOTES
  • 9. ] Start Eq = equation input N = respective formulae X0 = input lower limit X1 = input upper limit H = (x1 – x0)/2 Switch case ‘N’ (N == 1) answer = [(2*h) * (res(x0))] (N == 2) answer = [(3*h)/2 * (res(x0) + res(x0+h))] (N == 3) answer = [(4*h)/3 * (2*res(x0) - res(x0+h) + 2*res(x0+2*h))] (N == 4) answer = [5*h/24 * (11*res(x0) + res(x0+h) + res(x0+2*h) + 11*res(x0+3*h))] End switch case Print answer End. OPEN NEWTON CROOTES
  • 10. Reasons for numerical integration There are several reasons for carrying out numerical integration. 1. The integrand f(x) may be known only at certain points, such as obtained by sampling. Some embedded system and other computer applications may need numerical integration for this reason. 2. A formula for the integrand may be known, but it may be difficult or impossible to find an antiderivative that is an elementary function. An example of such an integrand is f(x) = exp (−x2), the antiderivative of which (the error function, times a constant) cannot be written in elementary form. 3. It may be possible to find an antiderivative symbolically, but it may be easier to compute a numerical approximation than to compute the antiderivative. That may be the case if the antiderivative is given as an infinite series or product, or if its evaluation requires a special function that is not available. Applications: it helps to  Find the area  Locate the centroid  Find the arc length of graph  Find the surface area of solid  Find the volume of a solid figure  Solve for the work done  Solve the moment of inertia It is also used to find  Water plane area  Sectional area  Submerged volume  Longitudinal center of floatation Pros PROS & CONS FOR NUMERICAL INTEGRATION
  • 11.  Possible to integrate any function  Multidimensional integrals are straightforward  Ability to solve integrals along irregular domains in multidimensional spaces (any shape).  Numerical integration gives you an answer to some problems that analytic techniques don’t. Cons  There is an intrinsic error in calculation  Numerical integrals are, always, computationally expensive.
  • 12. SUMMARY AND REFRENCES  Wikipedia  Quora  California University papers  MATLAB Documentation In numerical analysis, numerical integration constitutes a broad family of algorithms for calculating the numerical value of a definite integral, and by extension, the term is also sometimes used to describe the numerical solution of differential equations. This article focuses on calculation of definite integrals. The term numerical quadrature (often abbreviated to quadrature) is more or less a synonym for numerical integration, especially as applied to one-dimensional integrals. Integration has been there since even before the proper use of calculus. In modern day integration has led to some great creations including the petronas towers and the Sydney opera house.