SlideShare une entreprise Scribd logo
1  sur  15
ESTIMATE DEFINITE INTEGRAL USING TRAPEZOIDAL RULE, SIMPSON’S RULE, AND THEN ANALYZING APPROXIMATE ERRORS WITH TRAPEZOIDAL OR SIMPSON’S 4.6  Numerical Integration
Some elementary functions don’t have antiderivatives that are elementary functions.  For example,  If you need to evaluate a definite integral involving a function whose antiderivative cannot be found, you have to resort to approximation techniques. Sometimes we are not even given the function, just a bunch of measurements.  Then one of these new rules will be the way to go.
The trapezoidal rule uses trapezoids to approximate area, which usually is a much more accurate approximation, even with just a few subintervals. Notice that the height of the trapezoids will actually be  Δ x (horizontal) and bases will be the parallel f(x i ) (vertical) on each side of the subinterval.
The area of the first trapezoid would be  Area = and then total area would be Letting the number of trapezoids n approach infinity, you improve the approximation to the exact answer.
Observe that the coefficients are 1, 2, 2, 2, 2,  . . . 2, 1
Approximations with the Trapezoidal Rule Use the trapezoidal rule to approximate = ___________?
Ex 1. p. 310 Approximating with the Trapezoidal Rule You might want to program your calculator with the programs on these links.  They are also available on my website. http://college.cengage.com/mathematics/larson/calculus_analytic/8e/students/gcp/ti_82_83_83plus.pdf   for TI-83 or TI-84 programs for Simpson’s Rule, Midpoint Rule, Newton’s Method http://college.cengage.com/mathematics/larson/calculus_analytic/8e/students/gcp/ti_86.pdf   for TI-86 programs for Simpson’s Rule, Midpoint Rule, Newton’s Method. Anybody want the challenge of programming the TI-86 to do a simultaneous TRAPSIMP?  See me after work time begins.
A way to see trapezoidal approximations is to say that we approximated f(x) by using a first-degree polynomial (a line) to approximate the graph for each subinterval. Thomas Simpson (1710-1761) used second-degree polynomials (a section of a quadratic) to approximate the graph for each subinterval.  Before we get into Simpson’s Rule, we need to list a theorem for evaluating integrals of polynomials of degree 2 or less.  Proof on p. 311 if interested.
To develop Simpson’s Rule, he partitioned the interval [a, b] into n subintervals, each of width ∆x = (b – a)/n. This time n is required to be even, because each spans three values of x, for example, x 0 , x 1 , and x 2  .  You formulate a quadratic with the three points formed from the given x’s, then use Thm 4.17 and you get Simpson’s Rule Notice the coefficients are 1,  4,  2,  4,  .  .  .  2,  4,  1
Ex. 1 & 2  p. 310 and 312  Approximations with Trapezoidal Rule and Simpson’s Rule Unless you are given a problem like the first example we looked at, you would input f(x) into Y1, and then open programs to do the math for you.  You probably should at least memorize the coefficient pattern and front expression for each rule. For Trapezoidal rule, front expression  is ___?  Coefficient pattern is ___? For Simpson’s rule, front expression is ___? Coefficient pattern is ___? 1,  4,  2,  4,  .  .  .  2,  4,  1 (b – a)/(2n) 1, 2, 2, 2, 2,  . . . 2, 1 (b – a)/(3n)
Ex 1 & 2 p. 310, 312 Use both the Trapezoidal Rule and Simpson’s Rule to find approximations for  Then check your accuracy by finding the integral directly by calculator.
Make sure you realize the limitations of your calculator.  It doesn’t do any thinking for you, it just attempts to do what you ask of it. Try finding  with fnInt(1/x,x,-1,2) What result did you get? Why?
These two expressions tell how much of an error you can expect to get using either the Trapezoidal Rule or Simpson’s Rule.
Ex 3 p. 313  The Approximate Error in the Trapezoidal Rule Determine a value of n such that the Trapezoidal Rule will be accurate to within 0.01 for  Notice that the error uses the absolute value of the max of  f”(x) in [a, b] and n >2.89, and let n = 3 or more.
p. 314/ 3-33 mult of 3, 51

Contenu connexe

Tendances

A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...mathsjournal
 
NUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONSNUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONSGOWTHAMGOWSIK98
 
trapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 ruletrapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 rulehitarth shah
 
Numerical integration
Numerical integrationNumerical integration
Numerical integrationSunny Chauhan
 
Presentation on Numerical Integration
Presentation on Numerical IntegrationPresentation on Numerical Integration
Presentation on Numerical IntegrationTausif Shahanshah
 
Trapezoidal Method IN Numerical Analysis
Trapezoidal Method IN  Numerical AnalysisTrapezoidal Method IN  Numerical Analysis
Trapezoidal Method IN Numerical AnalysisMostafijur Rahman
 
MATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and IntegrationMATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and IntegrationAinul Islam
 
Numerical Integration Project Report
Numerical Integration Project ReportNumerical Integration Project Report
Numerical Integration Project ReportMuhammad Bilal Khan
 
NUMERICAL METHOD'S
NUMERICAL METHOD'SNUMERICAL METHOD'S
NUMERICAL METHOD'Ssrijanani16
 
Core 3 Simpsons Rule
Core 3 Simpsons RuleCore 3 Simpsons Rule
Core 3 Simpsons Ruledavidmiles100
 
Derivation of Simpson's 1/3 rule
Derivation of Simpson's 1/3 ruleDerivation of Simpson's 1/3 rule
Derivation of Simpson's 1/3 ruleHapPy SumOn
 
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
 
case study of curve fitting
case study of curve fittingcase study of curve fitting
case study of curve fittingAdarsh Patel
 

Tendances (20)

A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
A NEW STUDY OF TRAPEZOIDAL, SIMPSON’S1/3 AND SIMPSON’S 3/8 RULES OF NUMERICAL...
 
NUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONSNUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONS
 
Es272 ch6
Es272 ch6Es272 ch6
Es272 ch6
 
trapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 ruletrapezoidal and simpson's 1/3 and 3/8 rule
trapezoidal and simpson's 1/3 and 3/8 rule
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Presentation on Numerical Integration
Presentation on Numerical IntegrationPresentation on Numerical Integration
Presentation on Numerical Integration
 
Nsm ppt.ppt
Nsm ppt.pptNsm ppt.ppt
Nsm ppt.ppt
 
Trapezoidal rule
Trapezoidal ruleTrapezoidal rule
Trapezoidal rule
 
Romberg’s method
Romberg’s methodRomberg’s method
Romberg’s method
 
Trapezoidal Method IN Numerical Analysis
Trapezoidal Method IN  Numerical AnalysisTrapezoidal Method IN  Numerical Analysis
Trapezoidal Method IN Numerical Analysis
 
MATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and IntegrationMATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and Integration
 
Numerical Integration Project Report
Numerical Integration Project ReportNumerical Integration Project Report
Numerical Integration Project Report
 
NUMERICAL METHOD'S
NUMERICAL METHOD'SNUMERICAL METHOD'S
NUMERICAL METHOD'S
 
Core 3 Simpsons Rule
Core 3 Simpsons RuleCore 3 Simpsons Rule
Core 3 Simpsons Rule
 
Lar calc10 ch04_sec6
Lar calc10 ch04_sec6Lar calc10 ch04_sec6
Lar calc10 ch04_sec6
 
Derivation of Simpson's 1/3 rule
Derivation of Simpson's 1/3 ruleDerivation of Simpson's 1/3 rule
Derivation of Simpson's 1/3 rule
 
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
 
case study of curve fitting
case study of curve fittingcase study of curve fitting
case study of curve fitting
 
Trapezoidal rule
Trapezoidal rule Trapezoidal rule
Trapezoidal rule
 
Calculus BC
Calculus BCCalculus BC
Calculus BC
 

En vedette

Applied numerical methods lec10
Applied numerical methods lec10Applied numerical methods lec10
Applied numerical methods lec10Yasser Ahmed
 
Numerical integration
Numerical integrationNumerical integration
Numerical integrationMohammed_AQ
 
Newton cotes integration method
Newton cotes integration  methodNewton cotes integration  method
Newton cotes integration methodshashikant pabari
 
Calculus 08 techniques_of_integration
Calculus 08 techniques_of_integrationCalculus 08 techniques_of_integration
Calculus 08 techniques_of_integrationtutulk
 
MAT210/Integration/Basic 2013-14
MAT210/Integration/Basic 2013-14MAT210/Integration/Basic 2013-14
MAT210/Integration/Basic 2013-14John Ham
 
8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integrationdicosmo178
 
08 numerical integration
08 numerical integration08 numerical integration
08 numerical integrationMohammad Tawfik
 
System of linear algebriac equations nsm
System of linear algebriac equations nsmSystem of linear algebriac equations nsm
System of linear algebriac equations nsmRahul Narang
 
09 numerical integration
09 numerical integration09 numerical integration
09 numerical integrationMohammad Tawfik
 
NUMERICAL & STATISTICAL METHODS FOR COMPUTER ENGINEERING
NUMERICAL & STATISTICAL METHODS FOR COMPUTER ENGINEERING NUMERICAL & STATISTICAL METHODS FOR COMPUTER ENGINEERING
NUMERICAL & STATISTICAL METHODS FOR COMPUTER ENGINEERING Anu Bhatt
 

En vedette (16)

Applied numerical methods lec10
Applied numerical methods lec10Applied numerical methods lec10
Applied numerical methods lec10
 
Numerical Integration
Numerical IntegrationNumerical Integration
Numerical Integration
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Newton cotes integration method
Newton cotes integration  methodNewton cotes integration  method
Newton cotes integration method
 
Numerical Integration
Numerical IntegrationNumerical Integration
Numerical Integration
 
Calculus 08 techniques_of_integration
Calculus 08 techniques_of_integrationCalculus 08 techniques_of_integration
Calculus 08 techniques_of_integration
 
Matiasy Kevin1
Matiasy Kevin1Matiasy Kevin1
Matiasy Kevin1
 
MAT210/Integration/Basic 2013-14
MAT210/Integration/Basic 2013-14MAT210/Integration/Basic 2013-14
MAT210/Integration/Basic 2013-14
 
C++ TUTORIAL 8
C++ TUTORIAL 8C++ TUTORIAL 8
C++ TUTORIAL 8
 
[4] num integration
[4] num integration[4] num integration
[4] num integration
 
8.7 numerical integration
8.7 numerical integration8.7 numerical integration
8.7 numerical integration
 
American Lit 201-07b
American Lit 201-07bAmerican Lit 201-07b
American Lit 201-07b
 
08 numerical integration
08 numerical integration08 numerical integration
08 numerical integration
 
System of linear algebriac equations nsm
System of linear algebriac equations nsmSystem of linear algebriac equations nsm
System of linear algebriac equations nsm
 
09 numerical integration
09 numerical integration09 numerical integration
09 numerical integration
 
NUMERICAL & STATISTICAL METHODS FOR COMPUTER ENGINEERING
NUMERICAL & STATISTICAL METHODS FOR COMPUTER ENGINEERING NUMERICAL & STATISTICAL METHODS FOR COMPUTER ENGINEERING
NUMERICAL & STATISTICAL METHODS FOR COMPUTER ENGINEERING
 

Similaire à Calc 4.6

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
 
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
 
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
 
Numerical differentation with c
Numerical differentation with cNumerical differentation with c
Numerical differentation with cYagya Dev Bhardwaj
 
B02110105012
B02110105012B02110105012
B02110105012theijes
 
The International Journal of Engineering and Science (The IJES)
 The International Journal of Engineering and Science (The IJES) The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)theijes
 
Error analysis in numerical integration
Error analysis in numerical integrationError analysis in numerical integration
Error analysis in numerical integrationAmenahGondal1
 
Response surface method
Response surface methodResponse surface method
Response surface methodIrfan Hussain
 
MolinaLeydi_FinalProject
MolinaLeydi_FinalProjectMolinaLeydi_FinalProject
MolinaLeydi_FinalProjectLeydi Molina
 
ROOT OF NON-LINEAR EQUATIONS
ROOT OF NON-LINEAR EQUATIONSROOT OF NON-LINEAR EQUATIONS
ROOT OF NON-LINEAR EQUATIONSfenil patel
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical MethodsTeja Ande
 
Numerical Study of Some Iterative Methods for Solving Nonlinear Equations
Numerical Study of Some Iterative Methods for Solving Nonlinear EquationsNumerical Study of Some Iterative Methods for Solving Nonlinear Equations
Numerical Study of Some Iterative Methods for Solving Nonlinear Equationsinventionjournals
 
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
 
Roots of equations
Roots of equationsRoots of equations
Roots of equationsMileacre
 
Simpson's Three-Eighth Method
Simpson's Three-Eighth MethodSimpson's Three-Eighth Method
Simpson's Three-Eighth MethodSaloni Singhal
 
Nelder Mead Search Algorithm
Nelder Mead Search AlgorithmNelder Mead Search Algorithm
Nelder Mead Search AlgorithmAshish Khetan
 
Firefly exact MCMC for Big Data
Firefly exact MCMC for Big DataFirefly exact MCMC for Big Data
Firefly exact MCMC for Big DataGianvito Siciliano
 

Similaire à Calc 4.6 (20)

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.
 
OPERATIONS RESEARCH
OPERATIONS RESEARCHOPERATIONS RESEARCH
OPERATIONS RESEARCH
 
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)
 
Linear Approx, Differentials, Newton S Method
Linear  Approx,  Differentials,  Newton S  MethodLinear  Approx,  Differentials,  Newton S  Method
Linear Approx, Differentials, Newton S Method
 
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...
 
Numerical differentation with c
Numerical differentation with cNumerical differentation with c
Numerical differentation with c
 
B02110105012
B02110105012B02110105012
B02110105012
 
The International Journal of Engineering and Science (The IJES)
 The International Journal of Engineering and Science (The IJES) The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
Error analysis in numerical integration
Error analysis in numerical integrationError analysis in numerical integration
Error analysis in numerical integration
 
Response surface method
Response surface methodResponse surface method
Response surface method
 
MolinaLeydi_FinalProject
MolinaLeydi_FinalProjectMolinaLeydi_FinalProject
MolinaLeydi_FinalProject
 
Calc 3.8
Calc 3.8Calc 3.8
Calc 3.8
 
ROOT OF NON-LINEAR EQUATIONS
ROOT OF NON-LINEAR EQUATIONSROOT OF NON-LINEAR EQUATIONS
ROOT OF NON-LINEAR EQUATIONS
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
 
Numerical Study of Some Iterative Methods for Solving Nonlinear Equations
Numerical Study of Some Iterative Methods for Solving Nonlinear EquationsNumerical Study of Some Iterative Methods for Solving Nonlinear Equations
Numerical Study of Some Iterative Methods for Solving Nonlinear Equations
 
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
 
Roots of equations
Roots of equationsRoots of equations
Roots of equations
 
Simpson's Three-Eighth Method
Simpson's Three-Eighth MethodSimpson's Three-Eighth Method
Simpson's Three-Eighth Method
 
Nelder Mead Search Algorithm
Nelder Mead Search AlgorithmNelder Mead Search Algorithm
Nelder Mead Search Algorithm
 
Firefly exact MCMC for Big Data
Firefly exact MCMC for Big DataFirefly exact MCMC for Big Data
Firefly exact MCMC for Big Data
 

Plus de hartcher

Binomial distributions
Binomial distributionsBinomial distributions
Binomial distributionshartcher
 
10.2 using combinations and the binomial theorem
10.2 using combinations and the binomial theorem10.2 using combinations and the binomial theorem
10.2 using combinations and the binomial theoremhartcher
 
2.6b scatter plots and lines of best fit
2.6b scatter plots and lines of best fit2.6b scatter plots and lines of best fit
2.6b scatter plots and lines of best fithartcher
 
Ap and dual enrollment presentation
Ap and dual enrollment presentationAp and dual enrollment presentation
Ap and dual enrollment presentationhartcher
 
Ap and Dual Enrollment Presentation
Ap and Dual Enrollment PresentationAp and Dual Enrollment Presentation
Ap and Dual Enrollment Presentationhartcher
 
AP and Dual Enrollment Presentation
AP and Dual Enrollment PresentationAP and Dual Enrollment Presentation
AP and Dual Enrollment Presentationhartcher
 
Ap and dual enrollment presentation final
Ap and dual enrollment presentation   finalAp and dual enrollment presentation   final
Ap and dual enrollment presentation finalhartcher
 
7.4 A arc length
7.4 A arc length7.4 A arc length
7.4 A arc lengthhartcher
 
Calc 8.7 again
Calc 8.7 againCalc 8.7 again
Calc 8.7 againhartcher
 
Calc 8.7 l'hopital
Calc 8.7 l'hopitalCalc 8.7 l'hopital
Calc 8.7 l'hopitalhartcher
 

Plus de hartcher (20)

Binomial distributions
Binomial distributionsBinomial distributions
Binomial distributions
 
10.2 using combinations and the binomial theorem
10.2 using combinations and the binomial theorem10.2 using combinations and the binomial theorem
10.2 using combinations and the binomial theorem
 
Calc 3.4b
Calc 3.4bCalc 3.4b
Calc 3.4b
 
2.6b scatter plots and lines of best fit
2.6b scatter plots and lines of best fit2.6b scatter plots and lines of best fit
2.6b scatter plots and lines of best fit
 
Ap and dual enrollment presentation
Ap and dual enrollment presentationAp and dual enrollment presentation
Ap and dual enrollment presentation
 
Ap and Dual Enrollment Presentation
Ap and Dual Enrollment PresentationAp and Dual Enrollment Presentation
Ap and Dual Enrollment Presentation
 
AP and Dual Enrollment Presentation
AP and Dual Enrollment PresentationAP and Dual Enrollment Presentation
AP and Dual Enrollment Presentation
 
Ap and dual enrollment presentation final
Ap and dual enrollment presentation   finalAp and dual enrollment presentation   final
Ap and dual enrollment presentation final
 
7.4 A arc length
7.4 A arc length7.4 A arc length
7.4 A arc length
 
Calc 2.2b
Calc 2.2bCalc 2.2b
Calc 2.2b
 
Calc 8.7 again
Calc 8.7 againCalc 8.7 again
Calc 8.7 again
 
Calc 8.7 l'hopital
Calc 8.7 l'hopitalCalc 8.7 l'hopital
Calc 8.7 l'hopital
 
Calc 2.6
Calc 2.6Calc 2.6
Calc 2.6
 
Calc 6.1b
Calc 6.1bCalc 6.1b
Calc 6.1b
 
Calc 6.1a
Calc 6.1aCalc 6.1a
Calc 6.1a
 
Calc 7.3a
Calc 7.3aCalc 7.3a
Calc 7.3a
 
Calc 7.3b
Calc 7.3bCalc 7.3b
Calc 7.3b
 
Calc 7.2a
Calc 7.2aCalc 7.2a
Calc 7.2a
 
Calc 7.2b
Calc 7.2bCalc 7.2b
Calc 7.2b
 
Calc 7.1b
Calc 7.1bCalc 7.1b
Calc 7.1b
 

Dernier

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 

Dernier (20)

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 

Calc 4.6

  • 1. ESTIMATE DEFINITE INTEGRAL USING TRAPEZOIDAL RULE, SIMPSON’S RULE, AND THEN ANALYZING APPROXIMATE ERRORS WITH TRAPEZOIDAL OR SIMPSON’S 4.6 Numerical Integration
  • 2. Some elementary functions don’t have antiderivatives that are elementary functions. For example, If you need to evaluate a definite integral involving a function whose antiderivative cannot be found, you have to resort to approximation techniques. Sometimes we are not even given the function, just a bunch of measurements. Then one of these new rules will be the way to go.
  • 3. The trapezoidal rule uses trapezoids to approximate area, which usually is a much more accurate approximation, even with just a few subintervals. Notice that the height of the trapezoids will actually be Δ x (horizontal) and bases will be the parallel f(x i ) (vertical) on each side of the subinterval.
  • 4. The area of the first trapezoid would be Area = and then total area would be Letting the number of trapezoids n approach infinity, you improve the approximation to the exact answer.
  • 5. Observe that the coefficients are 1, 2, 2, 2, 2, . . . 2, 1
  • 6. Approximations with the Trapezoidal Rule Use the trapezoidal rule to approximate = ___________?
  • 7. Ex 1. p. 310 Approximating with the Trapezoidal Rule You might want to program your calculator with the programs on these links. They are also available on my website. http://college.cengage.com/mathematics/larson/calculus_analytic/8e/students/gcp/ti_82_83_83plus.pdf for TI-83 or TI-84 programs for Simpson’s Rule, Midpoint Rule, Newton’s Method http://college.cengage.com/mathematics/larson/calculus_analytic/8e/students/gcp/ti_86.pdf for TI-86 programs for Simpson’s Rule, Midpoint Rule, Newton’s Method. Anybody want the challenge of programming the TI-86 to do a simultaneous TRAPSIMP? See me after work time begins.
  • 8. A way to see trapezoidal approximations is to say that we approximated f(x) by using a first-degree polynomial (a line) to approximate the graph for each subinterval. Thomas Simpson (1710-1761) used second-degree polynomials (a section of a quadratic) to approximate the graph for each subinterval. Before we get into Simpson’s Rule, we need to list a theorem for evaluating integrals of polynomials of degree 2 or less. Proof on p. 311 if interested.
  • 9. To develop Simpson’s Rule, he partitioned the interval [a, b] into n subintervals, each of width ∆x = (b – a)/n. This time n is required to be even, because each spans three values of x, for example, x 0 , x 1 , and x 2 . You formulate a quadratic with the three points formed from the given x’s, then use Thm 4.17 and you get Simpson’s Rule Notice the coefficients are 1, 4, 2, 4, . . . 2, 4, 1
  • 10. Ex. 1 & 2 p. 310 and 312 Approximations with Trapezoidal Rule and Simpson’s Rule Unless you are given a problem like the first example we looked at, you would input f(x) into Y1, and then open programs to do the math for you. You probably should at least memorize the coefficient pattern and front expression for each rule. For Trapezoidal rule, front expression is ___? Coefficient pattern is ___? For Simpson’s rule, front expression is ___? Coefficient pattern is ___? 1, 4, 2, 4, . . . 2, 4, 1 (b – a)/(2n) 1, 2, 2, 2, 2, . . . 2, 1 (b – a)/(3n)
  • 11. Ex 1 & 2 p. 310, 312 Use both the Trapezoidal Rule and Simpson’s Rule to find approximations for Then check your accuracy by finding the integral directly by calculator.
  • 12. Make sure you realize the limitations of your calculator. It doesn’t do any thinking for you, it just attempts to do what you ask of it. Try finding with fnInt(1/x,x,-1,2) What result did you get? Why?
  • 13. These two expressions tell how much of an error you can expect to get using either the Trapezoidal Rule or Simpson’s Rule.
  • 14. Ex 3 p. 313 The Approximate Error in the Trapezoidal Rule Determine a value of n such that the Trapezoidal Rule will be accurate to within 0.01 for Notice that the error uses the absolute value of the max of f”(x) in [a, b] and n >2.89, and let n = 3 or more.
  • 15. p. 314/ 3-33 mult of 3, 51