SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Gauss Quadrature Formula
Gauss Quadrature FormulaGauss Quadrature Formula
Gauss Quadrature FormulaMaitree Patel
 
Numerical integration
Numerical integrationNumerical integration
Numerical integrationSunny Chauhan
 
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
 
Presentation on Numerical Integration
Presentation on Numerical IntegrationPresentation on Numerical Integration
Presentation on Numerical IntegrationTausif Shahanshah
 
Numerical differentiation integration
Numerical differentiation integrationNumerical differentiation integration
Numerical differentiation integrationTarun Gehlot
 
Linear differential equation
Linear differential equationLinear differential equation
Linear differential equationPratik Sudra
 
APPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONAPPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONDhrupal Patel
 
Computational Method to Solve the Partial Differential Equations (PDEs)
Computational Method to Solve the Partial Differential  Equations (PDEs)Computational Method to Solve the Partial Differential  Equations (PDEs)
Computational Method to Solve the Partial Differential Equations (PDEs)Dr. Khurram Mehboob
 
Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolationVISHAL DONGA
 
A brief introduction to finite difference method
A brief introduction to finite difference methodA brief introduction to finite difference method
A brief introduction to finite difference methodPrateek Jha
 
Engineering Mathematics - Total derivatives, chain rule and derivative of imp...
Engineering Mathematics - Total derivatives, chain rule and derivative of imp...Engineering Mathematics - Total derivatives, chain rule and derivative of imp...
Engineering Mathematics - Total derivatives, chain rule and derivative of imp...Jayanshu Gundaniya
 

Tendances (20)

Gauss Quadrature Formula
Gauss Quadrature FormulaGauss Quadrature Formula
Gauss Quadrature Formula
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Bisection method
Bisection methodBisection method
Bisection method
 
CENTROID
CENTROIDCENTROID
CENTROID
 
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
 
Dual simplexmethod
Dual simplexmethodDual simplexmethod
Dual simplexmethod
 
Presentation on Numerical Integration
Presentation on Numerical IntegrationPresentation on Numerical Integration
Presentation on Numerical Integration
 
Interpolation
InterpolationInterpolation
Interpolation
 
numerical methods
numerical methodsnumerical methods
numerical methods
 
Numerical differentiation integration
Numerical differentiation integrationNumerical differentiation integration
Numerical differentiation integration
 
Numerical method
Numerical methodNumerical method
Numerical method
 
Linear differential equation
Linear differential equationLinear differential equation
Linear differential equation
 
APPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONAPPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATION
 
Computational Method to Solve the Partial Differential Equations (PDEs)
Computational Method to Solve the Partial Differential  Equations (PDEs)Computational Method to Solve the Partial Differential  Equations (PDEs)
Computational Method to Solve the Partial Differential Equations (PDEs)
 
Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolation
 
Numerical Method 2
Numerical Method 2Numerical Method 2
Numerical Method 2
 
A brief introduction to finite difference method
A brief introduction to finite difference methodA brief introduction to finite difference method
A brief introduction to finite difference method
 
Trapezoidal rule
Trapezoidal rule Trapezoidal rule
Trapezoidal rule
 
Engineering Mathematics - Total derivatives, chain rule and derivative of imp...
Engineering Mathematics - Total derivatives, chain rule and derivative of imp...Engineering Mathematics - Total derivatives, chain rule and derivative of imp...
Engineering Mathematics - Total derivatives, chain rule and derivative of imp...
 
Quadrature
QuadratureQuadrature
Quadrature
 

En vedette

Numerical integration
Numerical integrationNumerical integration
Numerical integrationMohammed_AQ
 
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
 
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
 
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
 

En vedette (20)

Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
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 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
 
Trapezoidal rule
Trapezoidal ruleTrapezoidal rule
Trapezoidal rule
 
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
 

Similaire à 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
 

Similaire à 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
 

Plus 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
 

Plus 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
 

Dernier

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 

Dernier (20)

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 

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