SlideShare a Scribd company logo
1 of 6
Numerical Integration

Trapezoidal Approximation
Trapezoidal Method
Used to estimate area under a curve
divide a region under a curve into trapezoids

x0, x1, x2,… represent the beginning of each sub-interval
Trapezoidal Rule
b

∫
a

b−a
( f ( x0 ) + 2 f ( x1 ) + 2 f ( x2 ) +  + f ( xn ) )
f ( x ) dx =
2n

Where n is the number of sub-intervals between a and b

Parts:

b−a
2n

x0 , x1 , , xn

→ calculate from given intervals

→ the starting x-value of each sub-interval

1, 2, 2, 2,…, 1 → coefficients in trapezoidal rule
Example: Approximate area under y = 1 + x3 using
n=4
1


1
1
 3
2 −1 
1 + x dx =
 f ( 0) + 2 f  ÷+ 2 f  ÷+ 2 f  ÷+ f ( 1) ÷=
4
2
4
2 ×4 

0

∫

3

1   65   9   92  
= 1+  ÷+  ÷+  ÷+ 2 ÷=
8   32   4   32  

1 325 325
×
=
=
8 32
256
0 ¼ ½ ¾ 1

≈ 1.26953125
Let’s Practice
8

Estimate the area

∫

3

x dx

using n = 8

0

8

∫

3

x dx =

0

8− 0
( f ( 0) + 2 f ( 1) + 2 f ( 2) + 2 f ( 3) + 2 f ( 4) + 2 f ( 5) + 2 f ( 6) + 2 f ( 7) + f ( 8) ) =
2 ×8

(

)

1
0+ 2+23 2 + 23 3+ 23 4 +23 5 +23 6 +23 7 +2 ≈
2

11.56978
Let’s Practice
8

Estimate the area

∫

3

x dx

using n = 8

0

8

∫

3

x dx =

0

8− 0
( f ( 0) + 2 f ( 1) + 2 f ( 2) + 2 f ( 3) + 2 f ( 4) + 2 f ( 5) + 2 f ( 6) + 2 f ( 7) + f ( 8) ) =
2 ×8

(

)

1
0+ 2+23 2 + 23 3+ 23 4 +23 5 +23 6 +23 7 +2 ≈
2

11.56978

More Related Content

What's hot

7.1 area between curves
7.1 area between curves7.1 area between curves
7.1 area between curves
dicosmo178
 
5.1 vertex y int zeros d r
5.1 vertex y int zeros d r5.1 vertex y int zeros d r
5.1 vertex y int zeros d r
andreagoings
 
Assignment 2 DUM 3272 MATHEMATICS 3
Assignment 2 DUM 3272 MATHEMATICS 3Assignment 2 DUM 3272 MATHEMATICS 3
Assignment 2 DUM 3272 MATHEMATICS 3
MARA
 
Areas of bounded regions
Areas of bounded regionsAreas of bounded regions
Areas of bounded regions
Himani Asija
 
maths Individual assignment on differentiation
maths Individual assignment on differentiationmaths Individual assignment on differentiation
maths Individual assignment on differentiation
tenwoalex
 
4.2 derivatives of logarithmic functions
4.2 derivatives of logarithmic functions4.2 derivatives of logarithmic functions
4.2 derivatives of logarithmic functions
dicosmo178
 

What's hot (19)

Area between curves
Area between curvesArea between curves
Area between curves
 
Convolutional Neural Network
Convolutional Neural NetworkConvolutional Neural Network
Convolutional Neural Network
 
7.1 area between curves
7.1 area between curves7.1 area between curves
7.1 area between curves
 
Sheet 1
Sheet 1Sheet 1
Sheet 1
 
Numerical differentiation integration
Numerical differentiation integrationNumerical differentiation integration
Numerical differentiation integration
 
Gaussian quadratures
Gaussian quadraturesGaussian quadratures
Gaussian quadratures
 
Area between two curves
Area between two curves Area between two curves
Area between two curves
 
5.1 vertex y int zeros d r
5.1 vertex y int zeros d r5.1 vertex y int zeros d r
5.1 vertex y int zeros d r
 
Sheet 2
Sheet 2Sheet 2
Sheet 2
 
Assignment 2 DUM 3272 MATHEMATICS 3
Assignment 2 DUM 3272 MATHEMATICS 3Assignment 2 DUM 3272 MATHEMATICS 3
Assignment 2 DUM 3272 MATHEMATICS 3
 
Areas of bounded regions
Areas of bounded regionsAreas of bounded regions
Areas of bounded regions
 
Htdp27.key
Htdp27.keyHtdp27.key
Htdp27.key
 
303
303303
303
 
Efoom 2020
Efoom 2020Efoom 2020
Efoom 2020
 
maths Individual assignment on differentiation
maths Individual assignment on differentiationmaths Individual assignment on differentiation
maths Individual assignment on differentiation
 
maths basics
maths basicsmaths basics
maths basics
 
Assignment 4
Assignment 4Assignment 4
Assignment 4
 
Sheet 3
Sheet 3Sheet 3
Sheet 3
 
4.2 derivatives of logarithmic functions
4.2 derivatives of logarithmic functions4.2 derivatives of logarithmic functions
4.2 derivatives of logarithmic functions
 

Similar to 8.7 numerical integration

Amth250 octave matlab some solutions (2)
Amth250 octave matlab some solutions (2)Amth250 octave matlab some solutions (2)
Amth250 octave matlab some solutions (2)
asghar123456
 
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1
cideni
 
Chapter 1 (math 1)
Chapter 1 (math 1)Chapter 1 (math 1)
Chapter 1 (math 1)
Amr Mohamed
 
Integration techniques
Integration techniquesIntegration techniques
Integration techniques
Krishna Gali
 

Similar to 8.7 numerical integration (20)

Calculo integral - Larson
Calculo integral - LarsonCalculo integral - Larson
Calculo integral - Larson
 
0 calc7-1
0 calc7-10 calc7-1
0 calc7-1
 
Functions limits and continuity
Functions limits and continuityFunctions limits and continuity
Functions limits and continuity
 
Ejercicios radhames ultima unidad
Ejercicios radhames ultima unidadEjercicios radhames ultima unidad
Ejercicios radhames ultima unidad
 
Maths 301 key_sem_1_2007_2008
Maths 301 key_sem_1_2007_2008Maths 301 key_sem_1_2007_2008
Maths 301 key_sem_1_2007_2008
 
functions limits and continuity
functions limits and continuityfunctions limits and continuity
functions limits and continuity
 
Ejercicios victor
Ejercicios victorEjercicios victor
Ejercicios victor
 
Cbse Class 12 Maths Sample Paper 2013 Model 3
Cbse Class 12 Maths Sample Paper 2013 Model 3Cbse Class 12 Maths Sample Paper 2013 Model 3
Cbse Class 12 Maths Sample Paper 2013 Model 3
 
Assignment For Matlab Report Subject Calculus 2
Assignment For Matlab Report Subject  Calculus 2Assignment For Matlab Report Subject  Calculus 2
Assignment For Matlab Report Subject Calculus 2
 
Amth250 octave matlab some solutions (2)
Amth250 octave matlab some solutions (2)Amth250 octave matlab some solutions (2)
Amth250 octave matlab some solutions (2)
 
Solutions Manual for Calculus Early Transcendentals 10th Edition by Anton
Solutions Manual for Calculus Early Transcendentals 10th Edition by AntonSolutions Manual for Calculus Early Transcendentals 10th Edition by Anton
Solutions Manual for Calculus Early Transcendentals 10th Edition by Anton
 
CBSE XII MATHS SAMPLE PAPER BY KENDRIYA VIDYALAYA
CBSE XII MATHS SAMPLE PAPER BY KENDRIYA VIDYALAYA CBSE XII MATHS SAMPLE PAPER BY KENDRIYA VIDYALAYA
CBSE XII MATHS SAMPLE PAPER BY KENDRIYA VIDYALAYA
 
Form 4 add maths note
Form 4 add maths noteForm 4 add maths note
Form 4 add maths note
 
2.1 Calculus 2.formulas.pdf.pdf
2.1 Calculus 2.formulas.pdf.pdf2.1 Calculus 2.formulas.pdf.pdf
2.1 Calculus 2.formulas.pdf.pdf
 
Integration
IntegrationIntegration
Integration
 
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1Howard, anton   calculo i- um novo horizonte - exercicio resolvidos v1
Howard, anton calculo i- um novo horizonte - exercicio resolvidos v1
 
Solution Manual : Chapter - 06 Application of the Definite Integral in Geomet...
Solution Manual : Chapter - 06 Application of the Definite Integral in Geomet...Solution Manual : Chapter - 06 Application of the Definite Integral in Geomet...
Solution Manual : Chapter - 06 Application of the Definite Integral in Geomet...
 
Calculus B Notes (Notre Dame)
Calculus B Notes (Notre Dame)Calculus B Notes (Notre Dame)
Calculus B Notes (Notre Dame)
 
Chapter 1 (math 1)
Chapter 1 (math 1)Chapter 1 (math 1)
Chapter 1 (math 1)
 
Integration techniques
Integration techniquesIntegration techniques
Integration techniques
 

More from dicosmo178

8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integration
dicosmo178
 
8.2 integration by parts
8.2 integration by parts8.2 integration by parts
8.2 integration by parts
dicosmo178
 
7.3 volumes by cylindrical shells
7.3 volumes by cylindrical shells7.3 volumes by cylindrical shells
7.3 volumes by cylindrical shells
dicosmo178
 
7.2 volumes by slicing disks and washers
7.2 volumes by slicing disks and washers7.2 volumes by slicing disks and washers
7.2 volumes by slicing disks and washers
dicosmo178
 
7.1 area between curves
7.1 area between curves7.1 area between curves
7.1 area between curves
dicosmo178
 
6.5 & 6.6 & 6.9 the definite integral and the fundemental theorem of calculus...
6.5 & 6.6 & 6.9 the definite integral and the fundemental theorem of calculus...6.5 & 6.6 & 6.9 the definite integral and the fundemental theorem of calculus...
6.5 & 6.6 & 6.9 the definite integral and the fundemental theorem of calculus...
dicosmo178
 
6.3 integration by substitution
6.3 integration by substitution6.3 integration by substitution
6.3 integration by substitution
dicosmo178
 
6.2 the indefinite integral
6.2 the indefinite integral 6.2 the indefinite integral
6.2 the indefinite integral
dicosmo178
 
6.1 & 6.4 an overview of the area problem area
6.1 & 6.4 an overview of the area problem area6.1 & 6.4 an overview of the area problem area
6.1 & 6.4 an overview of the area problem area
dicosmo178
 
5.8 rectilinear motion
5.8 rectilinear motion5.8 rectilinear motion
5.8 rectilinear motion
dicosmo178
 
5.7 rolle's thrm & mv theorem
5.7 rolle's thrm & mv theorem5.7 rolle's thrm & mv theorem
5.7 rolle's thrm & mv theorem
dicosmo178
 
5.5 optimization
5.5 optimization5.5 optimization
5.5 optimization
dicosmo178
 
5.4 absolute maxima and minima
5.4 absolute maxima and minima5.4 absolute maxima and minima
5.4 absolute maxima and minima
dicosmo178
 
5.3 curve sketching
5.3 curve sketching5.3 curve sketching
5.3 curve sketching
dicosmo178
 
5.2 first and second derivative test
5.2 first and second derivative test5.2 first and second derivative test
5.2 first and second derivative test
dicosmo178
 
5.1 analysis of function i
5.1 analysis of function i5.1 analysis of function i
5.1 analysis of function i
dicosmo178
 
4.3 derivatives of inv erse trig. functions
4.3 derivatives of inv erse trig. functions4.3 derivatives of inv erse trig. functions
4.3 derivatives of inv erse trig. functions
dicosmo178
 
7.2 volumes by slicing disks and washers
7.2 volumes by slicing disks and washers7.2 volumes by slicing disks and washers
7.2 volumes by slicing disks and washers
dicosmo178
 
8.2 integration by parts
8.2 integration by parts8.2 integration by parts
8.2 integration by parts
dicosmo178
 
8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integration
dicosmo178
 

More from dicosmo178 (20)

8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integration
 
8.2 integration by parts
8.2 integration by parts8.2 integration by parts
8.2 integration by parts
 
7.3 volumes by cylindrical shells
7.3 volumes by cylindrical shells7.3 volumes by cylindrical shells
7.3 volumes by cylindrical shells
 
7.2 volumes by slicing disks and washers
7.2 volumes by slicing disks and washers7.2 volumes by slicing disks and washers
7.2 volumes by slicing disks and washers
 
7.1 area between curves
7.1 area between curves7.1 area between curves
7.1 area between curves
 
6.5 & 6.6 & 6.9 the definite integral and the fundemental theorem of calculus...
6.5 & 6.6 & 6.9 the definite integral and the fundemental theorem of calculus...6.5 & 6.6 & 6.9 the definite integral and the fundemental theorem of calculus...
6.5 & 6.6 & 6.9 the definite integral and the fundemental theorem of calculus...
 
6.3 integration by substitution
6.3 integration by substitution6.3 integration by substitution
6.3 integration by substitution
 
6.2 the indefinite integral
6.2 the indefinite integral 6.2 the indefinite integral
6.2 the indefinite integral
 
6.1 & 6.4 an overview of the area problem area
6.1 & 6.4 an overview of the area problem area6.1 & 6.4 an overview of the area problem area
6.1 & 6.4 an overview of the area problem area
 
5.8 rectilinear motion
5.8 rectilinear motion5.8 rectilinear motion
5.8 rectilinear motion
 
5.7 rolle's thrm & mv theorem
5.7 rolle's thrm & mv theorem5.7 rolle's thrm & mv theorem
5.7 rolle's thrm & mv theorem
 
5.5 optimization
5.5 optimization5.5 optimization
5.5 optimization
 
5.4 absolute maxima and minima
5.4 absolute maxima and minima5.4 absolute maxima and minima
5.4 absolute maxima and minima
 
5.3 curve sketching
5.3 curve sketching5.3 curve sketching
5.3 curve sketching
 
5.2 first and second derivative test
5.2 first and second derivative test5.2 first and second derivative test
5.2 first and second derivative test
 
5.1 analysis of function i
5.1 analysis of function i5.1 analysis of function i
5.1 analysis of function i
 
4.3 derivatives of inv erse trig. functions
4.3 derivatives of inv erse trig. functions4.3 derivatives of inv erse trig. functions
4.3 derivatives of inv erse trig. functions
 
7.2 volumes by slicing disks and washers
7.2 volumes by slicing disks and washers7.2 volumes by slicing disks and washers
7.2 volumes by slicing disks and washers
 
8.2 integration by parts
8.2 integration by parts8.2 integration by parts
8.2 integration by parts
 
8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integration
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 

8.7 numerical integration

  • 2. Trapezoidal Method Used to estimate area under a curve divide a region under a curve into trapezoids x0, x1, x2,… represent the beginning of each sub-interval
  • 3. Trapezoidal Rule b ∫ a b−a ( f ( x0 ) + 2 f ( x1 ) + 2 f ( x2 ) +  + f ( xn ) ) f ( x ) dx = 2n Where n is the number of sub-intervals between a and b Parts: b−a 2n x0 , x1 , , xn → calculate from given intervals → the starting x-value of each sub-interval 1, 2, 2, 2,…, 1 → coefficients in trapezoidal rule
  • 4. Example: Approximate area under y = 1 + x3 using n=4 1  1 1  3 2 −1  1 + x dx =  f ( 0) + 2 f  ÷+ 2 f  ÷+ 2 f  ÷+ f ( 1) ÷= 4 2 4 2 ×4   0 ∫ 3 1   65   9   92   = 1+  ÷+  ÷+  ÷+ 2 ÷= 8   32   4   32   1 325 325 × = = 8 32 256 0 ¼ ½ ¾ 1 ≈ 1.26953125
  • 5. Let’s Practice 8 Estimate the area ∫ 3 x dx using n = 8 0 8 ∫ 3 x dx = 0 8− 0 ( f ( 0) + 2 f ( 1) + 2 f ( 2) + 2 f ( 3) + 2 f ( 4) + 2 f ( 5) + 2 f ( 6) + 2 f ( 7) + f ( 8) ) = 2 ×8 ( ) 1 0+ 2+23 2 + 23 3+ 23 4 +23 5 +23 6 +23 7 +2 ≈ 2 11.56978
  • 6. Let’s Practice 8 Estimate the area ∫ 3 x dx using n = 8 0 8 ∫ 3 x dx = 0 8− 0 ( f ( 0) + 2 f ( 1) + 2 f ( 2) + 2 f ( 3) + 2 f ( 4) + 2 f ( 5) + 2 f ( 6) + 2 f ( 7) + f ( 8) ) = 2 ×8 ( ) 1 0+ 2+23 2 + 23 3+ 23 4 +23 5 +23 6 +23 7 +2 ≈ 2 11.56978