Pengintegralan Numerik (lanjutan) Pertemuan 10

Slides:



Advertisements
Similar presentations
HAMPIRAN NUMERIK SOLUSI PERSAMAAN DIFERENSIAL (lanjutan) Pertemuan 12 Matakuliah: METODE NUMERIK I Tahun: 2008.
Advertisements

Matematika Pertemuan 13 Matakuliah: D0024/Matematika Industri II Tahun : 2008.
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
Romberg Rule of Integration
Numerical Integration of Functions
NUMERICAL DIFFERENTIATION AND INTEGRATION
Chapter 7 Numerical Differentiation and Integration
Today’s class Romberg integration Gauss quadrature Numerical Methods
Integration of Equations
8/8/ Gauss Quadrature Rule of Integration Major: All Engineering Majors Authors: Autar Kaw, Charlie Barker
CISE301_Topic7KFUPM1 SE301: Numerical Methods Topic 7 Numerical Integration Lecture KFUPM Read Chapter 21, Section 1 Read Chapter 22, Sections 2-3.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Part 6 Calculus.
19.5 Numeric Integration and Differentiation
Simpson’s 1/3 rd Rule of Integration. What is Integration? Integration The process of measuring the area under a.
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
Numerical Integration Pertemuan 7 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
Integration. Indefinite Integral Suppose we know that a graph has gradient –2, what is the equation of the graph? There are many possible equations for.
1 Simpson’s 1/3 rd Rule of Integration. 2 What is Integration? Integration The process of measuring the area under a curve. Where: f(x) is the integrand.
CSE 330 : Numerical Methods
9/14/ Trapezoidal Rule of Integration Major: All Engineering Majors Authors: Autar Kaw, Charlie Barker
1 Trapezoidal Rule of Integration. What is Integration Integration: The process of measuring the area under a function.
MA2213 Lecture 4 Numerical Integration. Introduction Definition is the limit of Riemann sums I(f)
Simpson Rule For Integration.
Numerical Methods For Slides Thanks to Lecture 6 Interpolation
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Numerical Differentiation and Integration ~ Integration.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 22.
Trapezoidal Rule of Integration
11/30/ Romberg Rule of Integration Mechanical Engineering Majors Authors: Autar Kaw, Charlie Barker
12/1/ Trapezoidal Rule of Integration Civil Engineering Majors Authors: Autar Kaw, Charlie Barker
CSE 330 : Numerical Methods Lecture 15: Numerical Integration - Trapezoidal Rule Dr. S. M. Lutful Kabir Visiting Professor, BRAC University & Professor.
Integration This is not your father’s area?. Ask me what I should already know The pre-requisite questions.
Distance Traveled Area Under a curve Antiderivatives
Curve Fitting Pertemuan 10 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
Use of Newton-Cotes Formulas and eventual shortcomings Matlab code to increase number of segments with trapezoid, 1/3 and 3/8 rule.
3/12/ Trapezoidal Rule of Integration Computer Engineering Majors Authors: Autar Kaw, Charlie Barker
SE301_Topic 6Al-Amer20051 SE301:Numerical Methods Topic 6 Numerical Integration Dr. Samir Al-Amer Term 053.
Quadrature – Concepts (numerical integration) Don Allen.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 20 Numerical Integration of Functions.
Trapezoidal Rule of Integration
Air Force Admin College, Coimbatore
Chapter 7 Numerical Differentiation and Integration
Numerical Analysis Lecture 42.
1. 2 What is Integration? Integration The process of measuring the area under a curve. Where: f(x) is the integrand a= lower limit of integration b=
Copyright © Cengage Learning. All rights reserved.
Gauss Quadrature Rule of Integration
Interpolation.
Advanced Numerical Methods (S. A. Sahu) Code: AMC 51151
Chapter 22.
NUMERICAL DIFFERENTIATION AND INTEGRATION
Two-Point Gaussian Quadrature Rule
Trapezoidal Rule of Integration
Trapezoidal Rule of Integration
Copyright © Cengage Learning. All rights reserved.
Gauss Quadrature Rule of Integration
Two-Point Gaussian Quadrature Rule
Simpson’s 1/3rd Rule of Integration
Numerical Computation and Optimization
Simpson’s 1/3rd Rule of Integration
Simpson’s 1/3rd Rule of Integration
Romberg Rule of Integration
SKTN 2393 Numerical Methods for Nuclear Engineers
Simpson’s 1/3rd Rule of Integration
Romberg Rule of Integration
Direct Method of Interpolation
Numerical Computation and Optimization
Romberg Rule of Integration
Numerical Computation and Optimization
Romberg Rule of Integration
Air Force Admin College, Coimbatore
Presentation transcript:

Pengintegralan Numerik (lanjutan) Pertemuan 10 Matakuliah : METODE NUMERIK I Tahun : 2008 Pengintegralan Numerik (lanjutan) Pertemuan 10

Integrasi IIntegrasi Proses mencari luas di bawah suatu curva. Where: f(x) a b y x Proses mencari luas di bawah suatu curva. Where: f(x) is the integrand a= lower limit of integration b= upper limit of integration Bina Nusantara

Aturan Kuadrat Gauss Previously, the Trapezoidal Rule was developed by the method of undetermined coefficients. The result of that development is summarized below. Bina Nusantara

Aturan Kuadrat Gauss The four unknowns x1, x2, c1 and c2 are found by assuming that the formula gives exact results for integrating a general third order polynomial, Hence Bina Nusantara

Aturan Kuadrat Gauss It follows that Equating Equations the two previous two expressions yield Bina Nusantara

Aturan Kuadrat Gauss Since the constants a0, a1, a2, a3 are arbitrary Bina Nusantara

Aturan Kuadrat Gauss The previous four simultaneous nonlinear Equations have only one acceptable solution, Bina Nusantara

Aturan Kuadrat Gauss Hence Two-Point Gaussian Quadrature Rule Bina Nusantara

Aturan Kuadrat Gauss dengan n titik Dinamakan kuadrat Gauss dengan 3 titik The coefficients c1, c2, and c3, and the functional arguments x1, x2, and x3 are calculated by assuming the formula gives exact expressions for integrating a fifth order polynomial General n-point rules would approximate the integral Bina Nusantara

Arguments and Weighing Factors for n-point Gauss Quadrature Formulas Table 1: Weighting factors c and function arguments x used in Gauss Quadrature Formulas. In handbooks, coefficients and arguments given for n-point Points Weighting Factors Function Arguments 2 c1 = 1.000000000 c2 = 1.000000000 x1 = -0.577350269 x2 = 0.577350269 3 c1 = 0.555555556 c2 = 0.888888889 c3 = 0.555555556 x1 = -0.774596669 x2 = 0.000000000 x3 = 0.774596669 4 c1 = 0.347854845 c2 = 0.652145155 c3 = 0.652145155 c4 = 0.347854845 x1 = -0.861136312 x2 = -0.339981044 x3 = 0.861136312 x4 = 0.339981044 Gauss Quadrature Rule are given for integrals as shown in Table 1. Bina Nusantara

Arguments and Weighing Factors for n-point Gauss Quadrature Formulas Table 1 (cont.) : Weighting factors c and function arguments x used in Gauss Quadrature Formulas. Points Weighting Factors Function Arguments 5 c1 = 0.236926885 c2 = 0.478628670 c3 = 0.568888889 c4 = 0.478628670 c5 = 0.236926885 x1 = -0.906179846 x2 = -0.538469310 x3 = 0.000000000 x4 = 0.538469310 x5 = 0.906179846 6 c1 = 0.171324492 c2 = 0.360761573 c3 = 0.467913935 c4 = 0.467913935 c5 = 0.360761573 c6 = 0.171324492 x1 = -0.932469514 x2 = -0.661209386 x3 = -0.171324492 x4 = 0.171324492 x5 = 0.661209386 x6 = 0.932469514 Bina Nusantara

Arguments and Weighing Factors for n-point Gauss Quadrature Formulas So if the table is given for integrals, how does one solve ? The answer lies in that any integral with limits of can be converted into an integral with limits Let If then Such that: Bina Nusantara

Arguments and Weighing Factors for n-point Gauss Quadrature Formulas Then Hence Substituting our values of x, and dx into the integral gives us Bina Nusantara

Contoh 1 Solution For an integral derive the one-point Gaussian Quadrature Rule. Solution The one-point Gaussian Quadrature Rule is Bina Nusantara

Solution Assuming the formula gives exact values for integrals and Since the other equation becomes Bina Nusantara

Solution (cont.) Therefore, one-point Gauss Quadrature Rule can be expressed as Bina Nusantara

Contoh 2 Use two-point Gauss Quadrature Rule to approximate the distance covered by a rocket from t=8 to t=30 as given by Find the true error, for part (a). Also, find the absolute relative true error, for part (a). a) b) Bina Nusantara

Solution First, change the limits of integration from [8,30] to [-1,1] by previous relations as follows Bina Nusantara

Solution (cont) Next, get weighting factors and function argument values from Table 1 for the two point rule, . . Bina Nusantara

Solution (cont.) Now we can use the Gauss Quadrature formula Bina Nusantara

Solution (cont) since Bina Nusantara

Solution (cont) b) The true error, , is c) The absolute relative true error, , is (Exact value = 11061.34m) Bina Nusantara

Integral Romberg Romberg Integration is an extrapolation formula of the Trapezoidal Rule for integration. It provides a better approximation of the integral by reducing the True Error. Bina Nusantara

Integral Romberg Romberg integration is same as Richardson’s extrapolation formula as given previously. However, Romberg used a recursive algorithm for the extrapolation. Recall This can alternately be written as Bina Nusantara

Integral Romberg Determine another integral value with further halving the step size (doubling the number of segments), It follows from the two previous expressions that the true value TV can be written as Bina Nusantara

Integral Romberg A general expression for Romberg integration can be written as The index k represents the order of extrapolation. k=1 represents the values obtained from the regular Trapezoidal rule, k=2 represents values obtained using the true estimate as O(h2). The index j represents the more and less accurate estimate of the integral. Bina Nusantara

Contoh 2 A company advertises that every roll of toilet paper has at least 250 sheets. The probability that there are 250 or more sheets in the toilet paper is given by Approximating the above integral as Use Romberg’s rule to find the probability. Use the 1, 2, 4, and 8-segment Trapezoidal rule results as given. Bina Nusantara

Solution From Table 1, the needed values from original Trapezoidal rule are where the above four values correspond to using 1, 2, 4 and 8 segment Trapezoidal rule, respectively. Bina Nusantara

Penyelesaian (lanjutan) To get the first order extrapolation values, Similarly, Bina Nusantara

Penyelesaian (lanjutan) For the second order extrapolation values, Similarly, Bina Nusantara

Penyelesaian (lanjutan) For the third order extrapolation values, Table 3 shows these increased correct values in a tree graph. Bina Nusantara

Solution (cont.) Table 3: Improved estimates of the integral value using Romberg Integration 1-segment 2-segment 4-segment 8-segment 0.53721 0.26861 0.21814 0.95767 0.17908 0.20132 1.2042 0.20280 1.2711 1.2881 1st Order 2nd Order 3rd Order Bina Nusantara

Soal Latihan Hitunglah Menggunakan Aturan Trapezoidal pada segmen (n) = 2, 4, 6,dan 8 Kuadratur Gauss untuk 2 dan 4 titik Integral Romberg (gunakan hasil a) Bina Nusantara