SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Downloaden Sie, um offline zu lesen
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.

Weitere ähnliche Inhalte

Was ist angesagt?

Interpolation and its applications
Interpolation and its applicationsInterpolation and its applications
Interpolation and its applicationsRinkuMonani
 
Iterative methods
Iterative methodsIterative methods
Iterative methodsKetan Nayak
 
Application of interpolation and finite difference
Application of interpolation and finite differenceApplication of interpolation and finite difference
Application of interpolation and finite differenceManthan Chavda
 
NUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONSNUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONSGOWTHAMGOWSIK98
 
Application of Numerical method in Real Life
Application of Numerical method in Real LifeApplication of Numerical method in Real Life
Application of Numerical method in Real LifeTaqwa It Center
 
Numerical integration
Numerical integrationNumerical integration
Numerical integrationSunny Chauhan
 
Gauss jordan method.pptx
Gauss jordan method.pptxGauss jordan method.pptx
Gauss jordan method.pptxRehmanRasheed3
 
Error analysis in numerical integration
Error analysis in numerical integrationError analysis in numerical integration
Error analysis in numerical integrationAmenahGondal1
 
Interpolation and-its-application
Interpolation and-its-applicationInterpolation and-its-application
Interpolation and-its-applicationApurbo Datta
 
Regulafalsi_bydinesh
Regulafalsi_bydineshRegulafalsi_bydinesh
Regulafalsi_bydineshDinesh Kumar
 
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
 
Spline interpolation numerical methods presentation
Spline interpolation numerical methods presentationSpline interpolation numerical methods presentation
Spline interpolation numerical methods presentationShohanur Nishad
 
Gaussian Elimination Method
Gaussian Elimination MethodGaussian Elimination Method
Gaussian Elimination MethodAndi Firdaus
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson methodBijay Mishra
 

Was ist angesagt? (20)

NUMERICAL METHOD
NUMERICAL METHODNUMERICAL METHOD
NUMERICAL METHOD
 
21 simpson's rule
21 simpson's rule21 simpson's rule
21 simpson's rule
 
Interpolation and its applications
Interpolation and its applicationsInterpolation and its applications
Interpolation and its applications
 
Iterative methods
Iterative methodsIterative methods
Iterative methods
 
Application of interpolation and finite difference
Application of interpolation and finite differenceApplication of interpolation and finite difference
Application of interpolation and finite difference
 
Lesson 3 simpsons rule
Lesson 3 simpsons ruleLesson 3 simpsons rule
Lesson 3 simpsons rule
 
NUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONSNUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONS
 
Application of Numerical method in Real Life
Application of Numerical method in Real LifeApplication of Numerical method in Real Life
Application of Numerical method in Real Life
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Complex number
Complex numberComplex number
Complex number
 
Numerical Analysis
Numerical AnalysisNumerical Analysis
Numerical Analysis
 
Gauss jordan method.pptx
Gauss jordan method.pptxGauss jordan method.pptx
Gauss jordan method.pptx
 
Error analysis in numerical integration
Error analysis in numerical integrationError analysis in numerical integration
Error analysis in numerical integration
 
Interpolation and-its-application
Interpolation and-its-applicationInterpolation and-its-application
Interpolation and-its-application
 
newton raphson method
newton raphson methodnewton raphson method
newton raphson method
 
Regulafalsi_bydinesh
Regulafalsi_bydineshRegulafalsi_bydinesh
Regulafalsi_bydinesh
 
Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)
 
Spline interpolation numerical methods presentation
Spline interpolation numerical methods presentationSpline interpolation numerical methods presentation
Spline interpolation numerical methods presentation
 
Gaussian Elimination Method
Gaussian Elimination MethodGaussian Elimination Method
Gaussian Elimination Method
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
 

Ähnlich wie 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
 
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 1musadoto
 
Numerical Analysis and Computer Applications
Numerical Analysis and Computer ApplicationsNumerical Analysis and Computer Applications
Numerical Analysis and Computer ApplicationsMujeeb UR Rahman
 
NUMERICAL METHODS
NUMERICAL   METHODSNUMERICAL   METHODS
NUMERICAL METHODSAMOGHA A K
 
Symbolic Computation via Gröbner Basis
Symbolic Computation via Gröbner BasisSymbolic Computation via Gröbner Basis
Symbolic Computation via Gröbner BasisIJERA Editor
 
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 CSEsanjana mun
 
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.pdfArijitDhali
 
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_pptTan 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.docxMiracule 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 FORMULAKHORASIYA DEVANSU
 
Monte Carlo Simulation
Monte Carlo SimulationMonte Carlo Simulation
Monte Carlo SimulationDeepti Singh
 
Chapter 3 - Problem Solving.pdf
Chapter 3 - Problem Solving.pdfChapter 3 - Problem Solving.pdf
Chapter 3 - Problem Solving.pdfMinaSaflor
 

Ähnlich wie 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
 
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
 
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
 
Monte Carlo Simulation
Monte Carlo SimulationMonte Carlo Simulation
Monte Carlo Simulation
 
Chapter 3 - Problem Solving.pdf
Chapter 3 - Problem Solving.pdfChapter 3 - Problem Solving.pdf
Chapter 3 - Problem Solving.pdf
 

Kürzlich hochgeladen

Shark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristicsShark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristicsArubSultan
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...Nguyen Thanh Tu Collection
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17Celine George
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
The role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenshipThe role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenshipKarl Donert
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Celine George
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...Nguyen Thanh Tu Collection
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
Employablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxEmployablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxryandux83rd
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxAnupam32727
 
Objectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptxObjectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptxMadhavi Dharankar
 
How to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineHow to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineCeline George
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 

Kürzlich hochgeladen (20)

Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Shark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristicsShark introduction Morphology and its behaviour characteristics
Shark introduction Morphology and its behaviour characteristics
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
CHUYÊN ĐỀ ÔN THEO CÂU CHO HỌC SINH LỚP 12 ĐỂ ĐẠT ĐIỂM 5+ THI TỐT NGHIỆP THPT ...
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
The role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenshipThe role of Geography in climate education: science and active citizenship
The role of Geography in climate education: science and active citizenship
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
Employablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptxEmployablity presentation and Future Career Plan.pptx
Employablity presentation and Future Career Plan.pptx
 
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptxCLASSIFICATION OF ANTI - CANCER DRUGS.pptx
CLASSIFICATION OF ANTI - CANCER DRUGS.pptx
 
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
Mattingly "AI & Prompt Design" - Introduction to Machine Learning"
 
Objectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptxObjectives n learning outcoms - MD 20240404.pptx
Objectives n learning outcoms - MD 20240404.pptx
 
How to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command LineHow to Uninstall a Module in Odoo 17 Using Command Line
How to Uninstall a Module in Odoo 17 Using Command Line
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 

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.