SlideShare a Scribd company logo
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

What's hot

Numerical integration
Numerical integrationNumerical integration
Numerical integration
Sunny Chauhan
 
Integration presentation
Integration presentationIntegration presentation
Integration presentation
Urmila Bhardwaj
 
Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)
Syed Ahmed Zaki
 
Numerical analysis ppt
Numerical analysis pptNumerical analysis ppt
Numerical analysis ppt
MalathiNagarajan20
 
Bessel’s equation
Bessel’s equationBessel’s equation
Bessel’s equationkishor pokar
 
Rolles theorem
Rolles theoremRolles theorem
Linear differential equation
Linear differential equationLinear differential equation
Linear differential equationPratik Sudra
 
Derivation of Simpson's 1/3 rule
Derivation of Simpson's 1/3 ruleDerivation of Simpson's 1/3 rule
Derivation of Simpson's 1/3 rule
HapPy SumOn
 
Simpson's rule of integration
Simpson's rule of integrationSimpson's rule of integration
Simpson's rule of integration
VARUN KUMAR
 
Newton Raphson
Newton RaphsonNewton Raphson
Newton Raphson
Nasima Akhtar
 
Numerical Differentiation and Integration
 Numerical Differentiation and Integration Numerical Differentiation and Integration
Numerical Differentiation and Integration
Meenakshisundaram N
 
lagrange interpolation
lagrange interpolationlagrange interpolation
lagrange interpolation
ayush raj
 
Integral calculus
Integral calculusIntegral calculus
Integral calculus
Farzad Javidanrad
 
Bisection method
Bisection methodBisection method
Bisection method
Md. Mujahid Islam
 
Group Theory
Group TheoryGroup Theory
Group Theory
Durgesh Chahar
 
Curve fitting of exponential curve
Curve fitting of exponential curveCurve fitting of exponential curve
Curve fitting of exponential curve
Divyang Rathod
 
Laplace Transformation & Its Application
Laplace Transformation & Its ApplicationLaplace Transformation & Its Application
Laplace Transformation & Its Application
Chandra Kundu
 
Spline Interpolation
Spline InterpolationSpline Interpolation
Spline Interpolation
aiQUANT
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equations
aman1894
 
Interpolation
InterpolationInterpolation
Interpolation
Santhanam Krishnan
 

What's hot (20)

Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Integration presentation
Integration presentationIntegration presentation
Integration presentation
 
Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)
 
Numerical analysis ppt
Numerical analysis pptNumerical analysis ppt
Numerical analysis ppt
 
Bessel’s equation
Bessel’s equationBessel’s equation
Bessel’s equation
 
Rolles theorem
Rolles theoremRolles theorem
Rolles theorem
 
Linear differential equation
Linear differential equationLinear differential equation
Linear differential equation
 
Derivation of Simpson's 1/3 rule
Derivation of Simpson's 1/3 ruleDerivation of Simpson's 1/3 rule
Derivation of Simpson's 1/3 rule
 
Simpson's rule of integration
Simpson's rule of integrationSimpson's rule of integration
Simpson's rule of integration
 
Newton Raphson
Newton RaphsonNewton Raphson
Newton Raphson
 
Numerical Differentiation and Integration
 Numerical Differentiation and Integration Numerical Differentiation and Integration
Numerical Differentiation and Integration
 
lagrange interpolation
lagrange interpolationlagrange interpolation
lagrange interpolation
 
Integral calculus
Integral calculusIntegral calculus
Integral calculus
 
Bisection method
Bisection methodBisection method
Bisection method
 
Group Theory
Group TheoryGroup Theory
Group Theory
 
Curve fitting of exponential curve
Curve fitting of exponential curveCurve fitting of exponential curve
Curve fitting of exponential curve
 
Laplace Transformation & Its Application
Laplace Transformation & Its ApplicationLaplace Transformation & Its Application
Laplace Transformation & Its Application
 
Spline Interpolation
Spline InterpolationSpline Interpolation
Spline Interpolation
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equations
 
Interpolation
InterpolationInterpolation
Interpolation
 

Similar to Numerical Integration Project Report

Applied Mathematics and Sciences: An International Journal (MathSJ)
Applied Mathematics and Sciences: An International Journal (MathSJ)Applied Mathematics and Sciences: An International Journal (MathSJ)
Applied Mathematics and Sciences: An International Journal (MathSJ)
mathsjournal
 
Efficient Accuracy: A Study on Numerical Integration.
Efficient Accuracy: A Study on Numerical Integration. Efficient Accuracy: A Study on Numerical Integration.
Efficient Accuracy: A Study on Numerical Integration.
ShaifulIslam56
 
01.01 vector spaces
01.01 vector spaces01.01 vector spaces
01.01 vector spaces
Andres Mendez-Vazquez
 
NUMERICA METHODS 1 final touch summary for test 1
NUMERICA METHODS 1 final touch summary for test 1NUMERICA METHODS 1 final touch summary for test 1
NUMERICA METHODS 1 final touch summary for test 1
musadoto
 
Numerical Analysis and Computer Applications
Numerical Analysis and Computer ApplicationsNumerical Analysis and Computer Applications
Numerical Analysis and Computer Applications
Mujeeb UR Rahman
 
NUMERICAL METHODS
NUMERICAL   METHODSNUMERICAL   METHODS
NUMERICAL METHODS
AMOGHA A K
 
Symbolic Computation via Gröbner Basis
Symbolic Computation via Gröbner BasisSymbolic Computation via Gröbner Basis
Symbolic Computation via Gröbner Basis
IJERA Editor
 
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...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...
mathsjournal
 
NP Complete Problems in Graph Theory
NP Complete Problems in Graph TheoryNP Complete Problems in Graph Theory
NP Complete Problems in Graph Theory
Seshagiri Rao Kornepati
 
Application's of Numerical Math in CSE
Application's of Numerical Math in CSEApplication's of Numerical Math in CSE
Application's of Numerical Math in CSE
sanjana mun
 
Informe #1 de metodos
Informe #1 de metodosInforme #1 de metodos
Informe #1 de metodos
juanpabloCantero2
 
Error analysis in numerical integration
Error analysis in numerical integrationError analysis in numerical integration
Error analysis in numerical integration
AmenahGondal1
 
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
Stephen Faucher
 
Overviewing the techniques of Numerical Integration.pdf
Overviewing the techniques of Numerical Integration.pdfOverviewing the techniques of Numerical Integration.pdf
Overviewing the techniques of Numerical Integration.pdf
ArijitDhali
 
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...
cscpconf
 
12 13 h2_measurement_ppt
12 13 h2_measurement_ppt12 13 h2_measurement_ppt
12 13 h2_measurement_ppt
Tan Hong
 
Why recursion is impotant_new_my.docx
Why recursion is impotant_new_my.docxWhy recursion is impotant_new_my.docx
Why recursion is impotant_new_my.docx
Miracule D Gavor
 
NUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULA
NUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULANUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULA
NUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULA
KHORASIYA DEVANSU
 

Similar to Numerical Integration Project Report (20)

Applied Mathematics and Sciences: An International Journal (MathSJ)
Applied Mathematics and Sciences: An International Journal (MathSJ)Applied Mathematics and Sciences: An International Journal (MathSJ)
Applied Mathematics and Sciences: An International Journal (MathSJ)
 
Efficient Accuracy: A Study on Numerical Integration.
Efficient Accuracy: A Study on Numerical Integration. Efficient Accuracy: A Study on Numerical Integration.
Efficient Accuracy: A Study on Numerical Integration.
 
01.01 vector spaces
01.01 vector spaces01.01 vector spaces
01.01 vector spaces
 
NUMERICA METHODS 1 final touch summary for test 1
NUMERICA METHODS 1 final touch summary for test 1NUMERICA METHODS 1 final touch summary for test 1
NUMERICA METHODS 1 final touch summary for test 1
 
Calc 4.6
Calc 4.6Calc 4.6
Calc 4.6
 
Numerical Analysis and Computer Applications
Numerical Analysis and Computer ApplicationsNumerical Analysis and Computer Applications
Numerical Analysis and Computer Applications
 
NUMERICAL METHODS
NUMERICAL   METHODSNUMERICAL   METHODS
NUMERICAL METHODS
 
Symbolic Computation via Gröbner Basis
Symbolic Computation via Gröbner BasisSymbolic Computation via Gröbner Basis
Symbolic Computation via Gröbner Basis
 
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...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...
 
Internship
InternshipInternship
Internship
 
NP Complete Problems in Graph Theory
NP Complete Problems in Graph TheoryNP Complete Problems in Graph Theory
NP Complete Problems in Graph Theory
 
Application's of Numerical Math in CSE
Application's of Numerical Math in CSEApplication's of Numerical Math in CSE
Application's of Numerical Math in CSE
 
Informe #1 de metodos
Informe #1 de metodosInforme #1 de metodos
Informe #1 de metodos
 
Error analysis in numerical integration
Error analysis in numerical integrationError analysis in numerical integration
Error analysis in numerical integration
 
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
A Comparison Of Iterative Methods For The Solution Of Non-Linear Systems Of E...
 
Overviewing the techniques of Numerical Integration.pdf
Overviewing the techniques of Numerical Integration.pdfOverviewing the techniques of Numerical Integration.pdf
Overviewing the techniques of Numerical Integration.pdf
 
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...
AN ALTERNATIVE APPROACH FOR SELECTION OF PSEUDO RANDOM NUMBERS FOR ONLINE EXA...
 
12 13 h2_measurement_ppt
12 13 h2_measurement_ppt12 13 h2_measurement_ppt
12 13 h2_measurement_ppt
 
Why recursion is impotant_new_my.docx
Why recursion is impotant_new_my.docxWhy recursion is impotant_new_my.docx
Why recursion is impotant_new_my.docx
 
NUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULA
NUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULANUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULA
NUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULA
 

Recently uploaded

Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 

Recently uploaded (20)

Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 

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.