SlideShare uma empresa Scribd logo
1 de 7
Numerical Integration
• In general, a numerical integration is the approximation
of a definite integration by a “weighted” sum of function
values at discretized points within the interval of
integration.

∫

b

a

N

f ( x )dx ≈ ∑ wi f ( xi )
i =0

where wi is the weighted factor depending on the integration
schemes used, and f ( xi ) is the function value evaluated at the
given point xi
Rectangular Rule

f(x)
height=f(x1*)

x=a
x=x1*

∫

b

a

height=f(xn*)

x=b

x

Approximate the integration,
b
∫a f ( x)dx , that is the area under
the curve by a series of
rectangles as shown.
The base of each of these
rectangles is ∆x=(b-a)/n and
its height can be expressed as
f(xi*) where xi* is the midpoint
of each rectangle

x=xn*

f ( x )dx = f ( x1*) ∆x + f ( x2 *) ∆x + .. f ( xn *) ∆x

= ∆x[ f ( x1*) + f ( x2 *) + .. f ( xn *)]
Trapezoidal Rule

f(x)

x=a
x=x1

x=b
x=xn-1

x

The rectangular rule can be made
more accurate by using
trapezoids to replace the
rectangles as shown. A linear
approximation of the function
locally sometimes work much
better than using the averaged
value like the rectangular rule
does.

∆x
∆x
∆x
∫a f ( x )dx = 2 [ f (a ) + f ( x1 )] + 2 [ f ( x1 ) + f ( x2 )] + .. + 2 [ f ( xn−1) + f (b)]
1
1
= ∆x[ f (a ) + f ( x1 ) + .. f ( xn −1 ) + f (b)]
2
2
b
Simpson’s Rule
Still, the more accurate integration formula can be achieved by
approximating the local curve by a higher order function, such as
a quadratic polynomial. This leads to the Simpson’s rule and the
formula is given as:
∆x
∫a f ( x )dx = 3 [ f (a ) + 4 f ( x1 ) + 2 f ( x2 ) + 4 f ( x3 ) + ..
..2 f ( x2 m−2 ) + 4 f ( x2 m −1 ) + f ( b)]
b

It is to be noted that the total number of subdivisions has to be an
even number in order for the Simpson’s formula to work
properly.
Examples
Integrate f ( x ) = x 3 between x = 1 and x = 2.

∫

2

1

1
1
2
x 3dx= x 4 |1 = (24 − 14 ) = 3.75
4
4

2-1
Using 4 subdivisions for the numerical integration: ∆x=
= 0.25
4
Rectangular rule:
i

xi*

f(xi*)

1

1.125 1.42

2

1.375 2.60

3

1.625 4.29

4

1.875 6.59

∫

2

1

x 3dx

= ∆x[ f (1.125) + f (1.375) + f (1.625) + f (1.875)]
= 0.25(14.9) = 3.725
Trapezoidal Rule
i

xi
1

f(xi)
1

1 1.25

1.95

2 1.5

3.38

3 1.75

∫

2

1

x 3dx

1
1
f (1) + f (1.25) + f (1.5) + f (1.75) + f (2)]
2
2
= 0.25(15.19) = 3.80
= ∆x[

5.36

2

8

Simpson’s Rule

∫

2

1

x 3dx =

∆x
[ f (1) + 4 f (1.25) + 2 f (1.5) + 4 f (1.75) + f (2)]
3

0.25
=
(45) = 3.75 ⇒ perfect estimation
3
Trapezoidal Rule
i

xi
1

f(xi)
1

1 1.25

1.95

2 1.5

3.38

3 1.75

∫

2

1

x 3dx

1
1
f (1) + f (1.25) + f (1.5) + f (1.75) + f (2)]
2
2
= 0.25(15.19) = 3.80
= ∆x[

5.36

2

8

Simpson’s Rule

∫

2

1

x 3dx =

∆x
[ f (1) + 4 f (1.25) + 2 f (1.5) + 4 f (1.75) + f (2)]
3

0.25
=
(45) = 3.75 ⇒ perfect estimation
3

Mais conteúdo relacionado

Mais procurados

Numerical integration
Numerical integrationNumerical integration
Numerical integrationMohammed_AQ
 
Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)Matthew Leingang
 
Bisection theorem proof and convergence analysis
Bisection theorem proof and convergence analysisBisection theorem proof and convergence analysis
Bisection theorem proof and convergence analysisHamza Nawaz
 
Numerical Analysis (Solution of Non-Linear Equations) part 2
Numerical Analysis (Solution of Non-Linear Equations) part 2Numerical Analysis (Solution of Non-Linear Equations) part 2
Numerical Analysis (Solution of Non-Linear Equations) part 2Asad Ali
 
Class 14 3D HermiteInterpolation.pptx
Class 14 3D HermiteInterpolation.pptxClass 14 3D HermiteInterpolation.pptx
Class 14 3D HermiteInterpolation.pptxMdSiddique20
 
NUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONSNUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONSGOWTHAMGOWSIK98
 
Calculus of variations
Calculus of variationsCalculus of variations
Calculus of variationsSolo Hermelin
 
Finite difference method
Finite difference methodFinite difference method
Finite difference methodDivyansh Verma
 
Presentation on Numerical Integration
Presentation on Numerical IntegrationPresentation on Numerical Integration
Presentation on Numerical IntegrationTausif Shahanshah
 
Double Integral Powerpoint
Double Integral PowerpointDouble Integral Powerpoint
Double Integral Powerpointoaishnosaj
 
ROOT OF NON-LINEAR EQUATIONS
ROOT OF NON-LINEAR EQUATIONSROOT OF NON-LINEAR EQUATIONS
ROOT OF NON-LINEAR EQUATIONSfenil patel
 
Daniel Hong ENGR 019 Q6
Daniel Hong ENGR 019 Q6Daniel Hong ENGR 019 Q6
Daniel Hong ENGR 019 Q6Daniel Hong
 
Simpson's rule of integration
Simpson's rule of integrationSimpson's rule of integration
Simpson's rule of integrationVARUN KUMAR
 
Newton-Raphson Method
Newton-Raphson MethodNewton-Raphson Method
Newton-Raphson MethodJigisha Dabhi
 
Trapezoidal Method IN Numerical Analysis
Trapezoidal Method IN  Numerical AnalysisTrapezoidal Method IN  Numerical Analysis
Trapezoidal Method IN Numerical AnalysisMostafijur Rahman
 

Mais procurados (20)

Integration
IntegrationIntegration
Integration
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)
 
Es272 ch3a
Es272 ch3aEs272 ch3a
Es272 ch3a
 
Bisection theorem proof and convergence analysis
Bisection theorem proof and convergence analysisBisection theorem proof and convergence analysis
Bisection theorem proof and convergence analysis
 
Secant method
Secant methodSecant method
Secant method
 
Numerical Analysis (Solution of Non-Linear Equations) part 2
Numerical Analysis (Solution of Non-Linear Equations) part 2Numerical Analysis (Solution of Non-Linear Equations) part 2
Numerical Analysis (Solution of Non-Linear Equations) part 2
 
Class 14 3D HermiteInterpolation.pptx
Class 14 3D HermiteInterpolation.pptxClass 14 3D HermiteInterpolation.pptx
Class 14 3D HermiteInterpolation.pptx
 
NUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONSNUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONS
 
Trapezoidal rule
Trapezoidal ruleTrapezoidal rule
Trapezoidal rule
 
Calculus of variations
Calculus of variationsCalculus of variations
Calculus of variations
 
Finite difference method
Finite difference methodFinite difference method
Finite difference method
 
Interpolation Methods
Interpolation MethodsInterpolation Methods
Interpolation Methods
 
Presentation on Numerical Integration
Presentation on Numerical IntegrationPresentation on Numerical Integration
Presentation on Numerical Integration
 
Double Integral Powerpoint
Double Integral PowerpointDouble Integral Powerpoint
Double Integral Powerpoint
 
ROOT OF NON-LINEAR EQUATIONS
ROOT OF NON-LINEAR EQUATIONSROOT OF NON-LINEAR EQUATIONS
ROOT OF NON-LINEAR EQUATIONS
 
Daniel Hong ENGR 019 Q6
Daniel Hong ENGR 019 Q6Daniel Hong ENGR 019 Q6
Daniel Hong ENGR 019 Q6
 
Simpson's rule of integration
Simpson's rule of integrationSimpson's rule of integration
Simpson's rule of integration
 
Newton-Raphson Method
Newton-Raphson MethodNewton-Raphson Method
Newton-Raphson Method
 
Trapezoidal Method IN Numerical Analysis
Trapezoidal Method IN  Numerical AnalysisTrapezoidal Method IN  Numerical Analysis
Trapezoidal Method IN Numerical Analysis
 

Destaque

Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methodsTarun Gehlot
 
[4] num integration
[4] num integration[4] num integration
[4] num integrationikhulsys
 
Introduction to matlab
Introduction to matlabIntroduction to matlab
Introduction to matlabTarun Gehlot
 
Modeling Transformations
Modeling TransformationsModeling Transformations
Modeling TransformationsTarun Gehlot
 
Gaussian quadratures
Gaussian quadraturesGaussian quadratures
Gaussian quadraturesTarun Gehlot
 
2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinates2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinatesTarun Gehlot
 
Newton cotes integration method
Newton cotes integration  methodNewton cotes integration  method
Newton cotes integration methodshashikant pabari
 
Introduction to Numerical Analysis
Introduction to Numerical AnalysisIntroduction to Numerical Analysis
Introduction to Numerical AnalysisMohammad Tawfik
 
Metode Numerik Trapesium
Metode Numerik TrapesiumMetode Numerik Trapesium
Metode Numerik TrapesiumWahyu Priyanti
 
25285 mws gen_int_ppt_trapcontinuous
25285 mws gen_int_ppt_trapcontinuous25285 mws gen_int_ppt_trapcontinuous
25285 mws gen_int_ppt_trapcontinuousJyoti Parange
 
Metnum kel 5 diferensiasi & integrasi numerik
Metnum kel 5 diferensiasi & integrasi numerikMetnum kel 5 diferensiasi & integrasi numerik
Metnum kel 5 diferensiasi & integrasi numerikIstiqomah Istiqomah
 
Lesson 31: Numerical Integration
Lesson 31: Numerical IntegrationLesson 31: Numerical Integration
Lesson 31: Numerical IntegrationMatthew Leingang
 
The sad, strange tale of the boy with only two fingers: an introduction to b...
The sad, strange tale of the boy with only two fingers: an introduction  to b...The sad, strange tale of the boy with only two fingers: an introduction  to b...
The sad, strange tale of the boy with only two fingers: an introduction to b...Mims H Wright
 
You Suck at Email
You Suck at EmailYou Suck at Email
You Suck at EmailJulia Roy
 
Get pampered retreat in goa - ajit patel sanda wellbeing group
Get pampered retreat in goa - ajit patel sanda wellbeing groupGet pampered retreat in goa - ajit patel sanda wellbeing group
Get pampered retreat in goa - ajit patel sanda wellbeing groupAjitPatelsandawellness
 
Detox retreat in goa - ajit patel sanda
Detox retreat in goa -  ajit patel sandaDetox retreat in goa -  ajit patel sanda
Detox retreat in goa - ajit patel sandaAjitPatelsandawellness
 
Numerical conformal mapping of an irregular area
Numerical conformal mapping of an irregular areaNumerical conformal mapping of an irregular area
Numerical conformal mapping of an irregular areaTarun Gehlot
 

Destaque (20)

Numerical Integration
Numerical IntegrationNumerical Integration
Numerical Integration
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methods
 
[4] num integration
[4] num integration[4] num integration
[4] num integration
 
Introduction to matlab
Introduction to matlabIntroduction to matlab
Introduction to matlab
 
Modeling Transformations
Modeling TransformationsModeling Transformations
Modeling Transformations
 
Gaussian quadratures
Gaussian quadraturesGaussian quadratures
Gaussian quadratures
 
2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinates2 d transformations and homogeneous coordinates
2 d transformations and homogeneous coordinates
 
Newton cotes integration method
Newton cotes integration  methodNewton cotes integration  method
Newton cotes integration method
 
Numerical Integration
Numerical IntegrationNumerical Integration
Numerical Integration
 
Introduction to Numerical Analysis
Introduction to Numerical AnalysisIntroduction to Numerical Analysis
Introduction to Numerical Analysis
 
Metode Numerik Trapesium
Metode Numerik TrapesiumMetode Numerik Trapesium
Metode Numerik Trapesium
 
25285 mws gen_int_ppt_trapcontinuous
25285 mws gen_int_ppt_trapcontinuous25285 mws gen_int_ppt_trapcontinuous
25285 mws gen_int_ppt_trapcontinuous
 
Metnum kel 5 diferensiasi & integrasi numerik
Metnum kel 5 diferensiasi & integrasi numerikMetnum kel 5 diferensiasi & integrasi numerik
Metnum kel 5 diferensiasi & integrasi numerik
 
Lesson 31: Numerical Integration
Lesson 31: Numerical IntegrationLesson 31: Numerical Integration
Lesson 31: Numerical Integration
 
Reflection module 5 jennifer chang wathall
Reflection module 5 jennifer chang wathallReflection module 5 jennifer chang wathall
Reflection module 5 jennifer chang wathall
 
The sad, strange tale of the boy with only two fingers: an introduction to b...
The sad, strange tale of the boy with only two fingers: an introduction  to b...The sad, strange tale of the boy with only two fingers: an introduction  to b...
The sad, strange tale of the boy with only two fingers: an introduction to b...
 
You Suck at Email
You Suck at EmailYou Suck at Email
You Suck at Email
 
Get pampered retreat in goa - ajit patel sanda wellbeing group
Get pampered retreat in goa - ajit patel sanda wellbeing groupGet pampered retreat in goa - ajit patel sanda wellbeing group
Get pampered retreat in goa - ajit patel sanda wellbeing group
 
Detox retreat in goa - ajit patel sanda
Detox retreat in goa -  ajit patel sandaDetox retreat in goa -  ajit patel sanda
Detox retreat in goa - ajit patel sanda
 
Numerical conformal mapping of an irregular area
Numerical conformal mapping of an irregular areaNumerical conformal mapping of an irregular area
Numerical conformal mapping of an irregular area
 

Semelhante a Numerical integration

Class XII assignment chapters (1 to 9)
Class XII   assignment chapters (1 to 9)Class XII   assignment chapters (1 to 9)
Class XII assignment chapters (1 to 9)KarunaGupta1982
 
Approximate Integration
Approximate IntegrationApproximate Integration
Approximate IntegrationSilvius
 
8.further calculus Further Mathematics Zimbabwe Zimsec Cambridge
8.further calculus   Further Mathematics Zimbabwe Zimsec Cambridge8.further calculus   Further Mathematics Zimbabwe Zimsec Cambridge
8.further calculus Further Mathematics Zimbabwe Zimsec Cambridgealproelearning
 
Quadratic Function Presentation
Quadratic Function PresentationQuadratic Function Presentation
Quadratic Function PresentationRyanWatt
 
Modeling with Quadratics
Modeling with QuadraticsModeling with Quadratics
Modeling with QuadraticsPLeach
 
Quadraticfunctionpresentation 100127142417-phpapp02
Quadraticfunctionpresentation 100127142417-phpapp02Quadraticfunctionpresentation 100127142417-phpapp02
Quadraticfunctionpresentation 100127142417-phpapp02Vine Gonzales
 
Applied numerical methods lec10
Applied numerical methods lec10Applied numerical methods lec10
Applied numerical methods lec10Yasser Ahmed
 
Module 1 quadratic functions
Module 1   quadratic functionsModule 1   quadratic functions
Module 1 quadratic functionsdionesioable
 
Class xii assignment chapters (1 to 9)
Class xii    assignment chapters (1 to 9)Class xii    assignment chapters (1 to 9)
Class xii assignment chapters (1 to 9)KarunaGupta1982
 
Local linear approximation
Local linear approximationLocal linear approximation
Local linear approximationTarun Gehlot
 
Differential Calculus
Differential Calculus Differential Calculus
Differential Calculus OlooPundit
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusMatthew Leingang
 
Solution 3
Solution 3Solution 3
Solution 3aldrins
 
Mathematics 9 Quadratic Functions (Module 1)
Mathematics 9 Quadratic Functions (Module 1)Mathematics 9 Quadratic Functions (Module 1)
Mathematics 9 Quadratic Functions (Module 1)Juan Miguel Palero
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusMatthew Leingang
 

Semelhante a Numerical integration (20)

Function
FunctionFunction
Function
 
Class XII assignment chapters (1 to 9)
Class XII   assignment chapters (1 to 9)Class XII   assignment chapters (1 to 9)
Class XII assignment chapters (1 to 9)
 
Approximate Integration
Approximate IntegrationApproximate Integration
Approximate Integration
 
8.further calculus Further Mathematics Zimbabwe Zimsec Cambridge
8.further calculus   Further Mathematics Zimbabwe Zimsec Cambridge8.further calculus   Further Mathematics Zimbabwe Zimsec Cambridge
8.further calculus Further Mathematics Zimbabwe Zimsec Cambridge
 
Quadratic Function Presentation
Quadratic Function PresentationQuadratic Function Presentation
Quadratic Function Presentation
 
Modeling with Quadratics
Modeling with QuadraticsModeling with Quadratics
Modeling with Quadratics
 
The integral
The integralThe integral
The integral
 
Quadraticfunctionpresentation 100127142417-phpapp02
Quadraticfunctionpresentation 100127142417-phpapp02Quadraticfunctionpresentation 100127142417-phpapp02
Quadraticfunctionpresentation 100127142417-phpapp02
 
Applied numerical methods lec10
Applied numerical methods lec10Applied numerical methods lec10
Applied numerical methods lec10
 
Module 1 quadratic functions
Module 1   quadratic functionsModule 1   quadratic functions
Module 1 quadratic functions
 
Class xii assignment chapters (1 to 9)
Class xii    assignment chapters (1 to 9)Class xii    assignment chapters (1 to 9)
Class xii assignment chapters (1 to 9)
 
Local linear approximation
Local linear approximationLocal linear approximation
Local linear approximation
 
Calc 7.1b
Calc 7.1bCalc 7.1b
Calc 7.1b
 
Riemann sumsdefiniteintegrals
Riemann sumsdefiniteintegralsRiemann sumsdefiniteintegrals
Riemann sumsdefiniteintegrals
 
Integration
IntegrationIntegration
Integration
 
Differential Calculus
Differential Calculus Differential Calculus
Differential Calculus
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of Calculus
 
Solution 3
Solution 3Solution 3
Solution 3
 
Mathematics 9 Quadratic Functions (Module 1)
Mathematics 9 Quadratic Functions (Module 1)Mathematics 9 Quadratic Functions (Module 1)
Mathematics 9 Quadratic Functions (Module 1)
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of Calculus
 

Mais de Tarun Gehlot

Materials 11-01228
Materials 11-01228Materials 11-01228
Materials 11-01228Tarun Gehlot
 
Continuity and end_behavior
Continuity and  end_behaviorContinuity and  end_behavior
Continuity and end_behaviorTarun Gehlot
 
Continuity of functions by graph (exercises with detailed solutions)
Continuity of functions by graph   (exercises with detailed solutions)Continuity of functions by graph   (exercises with detailed solutions)
Continuity of functions by graph (exercises with detailed solutions)Tarun Gehlot
 
Factoring by the trial and-error method
Factoring by the trial and-error methodFactoring by the trial and-error method
Factoring by the trial and-error methodTarun Gehlot
 
Introduction to finite element analysis
Introduction to finite element analysisIntroduction to finite element analysis
Introduction to finite element analysisTarun Gehlot
 
Finite elements : basis functions
Finite elements : basis functionsFinite elements : basis functions
Finite elements : basis functionsTarun Gehlot
 
Finite elements for 2‐d problems
Finite elements  for 2‐d problemsFinite elements  for 2‐d problems
Finite elements for 2‐d problemsTarun Gehlot
 
Error analysis statistics
Error analysis   statisticsError analysis   statistics
Error analysis statisticsTarun Gehlot
 
Linear approximations and_differentials
Linear approximations and_differentialsLinear approximations and_differentials
Linear approximations and_differentialsTarun Gehlot
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functionsTarun Gehlot
 
Propeties of-triangles
Propeties of-trianglesPropeties of-triangles
Propeties of-trianglesTarun Gehlot
 
Basics of set theory
Basics of set theoryBasics of set theory
Basics of set theoryTarun Gehlot
 
Applications of set theory
Applications of  set theoryApplications of  set theory
Applications of set theoryTarun Gehlot
 
Miscellneous functions
Miscellneous  functionsMiscellneous  functions
Miscellneous functionsTarun Gehlot
 
Dependent v. independent variables
Dependent v. independent variablesDependent v. independent variables
Dependent v. independent variablesTarun Gehlot
 
Intervals of validity
Intervals of validityIntervals of validity
Intervals of validityTarun Gehlot
 
Modelling with first order differential equations
Modelling with first order differential equationsModelling with first order differential equations
Modelling with first order differential equationsTarun Gehlot
 
Review taylor series
Review taylor seriesReview taylor series
Review taylor seriesTarun Gehlot
 

Mais de Tarun Gehlot (20)

Materials 11-01228
Materials 11-01228Materials 11-01228
Materials 11-01228
 
Binary relations
Binary relationsBinary relations
Binary relations
 
Continuity and end_behavior
Continuity and  end_behaviorContinuity and  end_behavior
Continuity and end_behavior
 
Continuity of functions by graph (exercises with detailed solutions)
Continuity of functions by graph   (exercises with detailed solutions)Continuity of functions by graph   (exercises with detailed solutions)
Continuity of functions by graph (exercises with detailed solutions)
 
Factoring by the trial and-error method
Factoring by the trial and-error methodFactoring by the trial and-error method
Factoring by the trial and-error method
 
Introduction to finite element analysis
Introduction to finite element analysisIntroduction to finite element analysis
Introduction to finite element analysis
 
Finite elements : basis functions
Finite elements : basis functionsFinite elements : basis functions
Finite elements : basis functions
 
Finite elements for 2‐d problems
Finite elements  for 2‐d problemsFinite elements  for 2‐d problems
Finite elements for 2‐d problems
 
Error analysis statistics
Error analysis   statisticsError analysis   statistics
Error analysis statistics
 
Matlab commands
Matlab commandsMatlab commands
Matlab commands
 
Linear approximations and_differentials
Linear approximations and_differentialsLinear approximations and_differentials
Linear approximations and_differentials
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functions
 
Propeties of-triangles
Propeties of-trianglesPropeties of-triangles
Propeties of-triangles
 
Basics of set theory
Basics of set theoryBasics of set theory
Basics of set theory
 
Applications of set theory
Applications of  set theoryApplications of  set theory
Applications of set theory
 
Miscellneous functions
Miscellneous  functionsMiscellneous  functions
Miscellneous functions
 
Dependent v. independent variables
Dependent v. independent variablesDependent v. independent variables
Dependent v. independent variables
 
Intervals of validity
Intervals of validityIntervals of validity
Intervals of validity
 
Modelling with first order differential equations
Modelling with first order differential equationsModelling with first order differential equations
Modelling with first order differential equations
 
Review taylor series
Review taylor seriesReview taylor series
Review taylor series
 

Último

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 

Último (20)

Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 

Numerical integration

  • 1. Numerical Integration • In general, a numerical integration is the approximation of a definite integration by a “weighted” sum of function values at discretized points within the interval of integration. ∫ b a N f ( x )dx ≈ ∑ wi f ( xi ) i =0 where wi is the weighted factor depending on the integration schemes used, and f ( xi ) is the function value evaluated at the given point xi
  • 2. Rectangular Rule f(x) height=f(x1*) x=a x=x1* ∫ b a height=f(xn*) x=b x Approximate the integration, b ∫a f ( x)dx , that is the area under the curve by a series of rectangles as shown. The base of each of these rectangles is ∆x=(b-a)/n and its height can be expressed as f(xi*) where xi* is the midpoint of each rectangle x=xn* f ( x )dx = f ( x1*) ∆x + f ( x2 *) ∆x + .. f ( xn *) ∆x = ∆x[ f ( x1*) + f ( x2 *) + .. f ( xn *)]
  • 3. Trapezoidal Rule f(x) x=a x=x1 x=b x=xn-1 x The rectangular rule can be made more accurate by using trapezoids to replace the rectangles as shown. A linear approximation of the function locally sometimes work much better than using the averaged value like the rectangular rule does. ∆x ∆x ∆x ∫a f ( x )dx = 2 [ f (a ) + f ( x1 )] + 2 [ f ( x1 ) + f ( x2 )] + .. + 2 [ f ( xn−1) + f (b)] 1 1 = ∆x[ f (a ) + f ( x1 ) + .. f ( xn −1 ) + f (b)] 2 2 b
  • 4. Simpson’s Rule Still, the more accurate integration formula can be achieved by approximating the local curve by a higher order function, such as a quadratic polynomial. This leads to the Simpson’s rule and the formula is given as: ∆x ∫a f ( x )dx = 3 [ f (a ) + 4 f ( x1 ) + 2 f ( x2 ) + 4 f ( x3 ) + .. ..2 f ( x2 m−2 ) + 4 f ( x2 m −1 ) + f ( b)] b It is to be noted that the total number of subdivisions has to be an even number in order for the Simpson’s formula to work properly.
  • 5. Examples Integrate f ( x ) = x 3 between x = 1 and x = 2. ∫ 2 1 1 1 2 x 3dx= x 4 |1 = (24 − 14 ) = 3.75 4 4 2-1 Using 4 subdivisions for the numerical integration: ∆x= = 0.25 4 Rectangular rule: i xi* f(xi*) 1 1.125 1.42 2 1.375 2.60 3 1.625 4.29 4 1.875 6.59 ∫ 2 1 x 3dx = ∆x[ f (1.125) + f (1.375) + f (1.625) + f (1.875)] = 0.25(14.9) = 3.725
  • 6. Trapezoidal Rule i xi 1 f(xi) 1 1 1.25 1.95 2 1.5 3.38 3 1.75 ∫ 2 1 x 3dx 1 1 f (1) + f (1.25) + f (1.5) + f (1.75) + f (2)] 2 2 = 0.25(15.19) = 3.80 = ∆x[ 5.36 2 8 Simpson’s Rule ∫ 2 1 x 3dx = ∆x [ f (1) + 4 f (1.25) + 2 f (1.5) + 4 f (1.75) + f (2)] 3 0.25 = (45) = 3.75 ⇒ perfect estimation 3
  • 7. Trapezoidal Rule i xi 1 f(xi) 1 1 1.25 1.95 2 1.5 3.38 3 1.75 ∫ 2 1 x 3dx 1 1 f (1) + f (1.25) + f (1.5) + f (1.75) + f (2)] 2 2 = 0.25(15.19) = 3.80 = ∆x[ 5.36 2 8 Simpson’s Rule ∫ 2 1 x 3dx = ∆x [ f (1) + 4 f (1.25) + 2 f (1.5) + 4 f (1.75) + f (2)] 3 0.25 = (45) = 3.75 ⇒ perfect estimation 3