SlideShare a Scribd company logo
UNIVERSITY OF GUYANA
FACULTY OF TECHNOLOGY
Department of Civil With Environmental Engineering
EMT 3200- ENGINEERING MATHEMATICS V
TOPIC: NUMERICAL APPROXIMATION
NUMERICAL APPROXIMATION
1
GROUP MEMBERS
Orin Edwards 1013799
Mazule Hutson 1014749
Malik Lewis 1014806
Silos Singh 1011551
Akeem St. Louis 1012535
Haresh Jaipershad 1011056
Joemoal Williams 1014049
Parmendra Persaud 1010286
2NUMERICAL APPROXIMATION
OUTLINE OF PRESENTATION
 Introduction
 Accuracy and Precision
 Mistakes
 Errors
 Types of Errors
 Error Propagation
 Euler’s Method
 References
3NUMERICAL APPROXIMATION
INTRODUCTION
• Numerical analysis is the area of mathematics and computer science that
creates, analyzes, and implements algorithms for solving numerically, the
problems of continuous mathematics.
• Such problems originate generally from real-world applications of algebra,
geometry and calculus, and they involve variables which vary continuously.
• Numerical Approximation is an inexact representation of a numerical value
that is still close enough to be useful.
4NUMERICAL APPROXIMATION
ACCURACY
• Accuracy refers to the closeness of a measured value to a standard or known
value.
• For example, in lab you obtain a weight measurement of 3.2 kg for a given
substance, but the actual or known weight is 10 kg.
• Your measurement is inaccurate as it is not close to the known value.
5NUMERICAL APPROXIMATION
PRECISION
• Precision refers to the closeness of two or more measurements to each
other.
• Using the same example, you weigh a given substance five times and get
3.2 kg
• Precision is independent of accuracy. You can be very precise but inaccurate
as well as accurate but imprecise.
• The term error represents the imprecision and inaccuracy of a numerical
computation.
6NUMERICAL APPROXIMATION
7NUMERICAL APPROXIMATION
ACCURACY & PRECISION
Figure 1 shows some examples of accuracy and precision
MISTAKES
• According to the Cambridge Dictionary, a mistake is “an action, decision, or
judgment that produces an unwanted or unintentional result”.
• In numerical analysis, a mistake is not an error.
• A mistake is due to blunder and it may be negligible, with little or no effect
on the accuracy of the calculation or it may be so serious as to render the
calculated results quite wrong.
8NUMERICAL APPROXIMATION
MISTAKES
Some common mistakes include:
• Misreading of repeated digits (e.g., reading 26638 as 26338).
•Transposition of digits (e.g., reading 1832 as 1382).
• Incorrectly positioning a decimal point; (e.g., placing a decimal point at
422.438 as 4224.38).
• Overlooking signs (especially near sign changes).
• Mistakes in reading the instrument, recording and tabulating data.
•Misreading of tables (for example, referring to a wrong line or a wrong
column).
9NUMERICAL APPROXIMATION
MISTAKES
10NUMERICAL APPROXIMATION
Picture showing error in reading from a thermometer
MISTAKES
Some ways to minimize mistakes include:
• Have an awareness of common mistakes
• Ensure signs are clearly written
• Double check calculations
11NUMERICAL APPROXIMATION
ERRORS
• The numerical errors are generated with the use of approximations to
represent mathematical operations and quantities.
• An error is the representation of the inaccuracy and vagueness of predictions.
• For the types of errors, the relationship between the true value or true result
and the approximate value is given by:
True Value = Approximation + error
12NUMERICAL APPROXIMATION
ABSOLUTE ERROR
• Is the amount of physical error in a measurement.
• Let’s say a meter stick is used to measure a given distance. The error is
rather hastily made, but it is good to ±1mm.
• This is the absolute error of the measurement. That is, absolute error =
±1mm (0.001m)
13NUMERICAL APPROXIMATION
RELATIVE ERROR
• This gives an indication of how good a measurement is relative to the size of the thing
being measured.
• Let’s say that two students measure two objects with a meter stick. One student
measures the height of a room and gets a value of 3.215 meters ±1mm (0.001m). Another
student measures the height of a small cylinder and measures 0.075 meters ±1mm
(0.001m).
• Clearly, the overall accuracy of the ceiling height is much better than that of the 7.5 cm
cylinder.
14NUMERICAL APPROXIMATION
RELATIVE ERROR
The comparative accuracy of these measurements can be determined by
looking at their relative errors.
• Relative error = absolute error / value of thing measured
• Relative error (ceiling height) = 0.001m/ 3.125m •100 = 0.0003%
• Relative error (cylinder height) = 0.001m/ 0.075m •100 = 0.01%
The relative error in the ceiling height is considerably smaller than the
relative error in the cylinder height even though the amount of absolute
error is the same in each case.
15NUMERICAL APPROXIMATION
ROUND OFF ERROR
• The round-off error is used because representing every number as a real
number isn't possible. So rounding is introduced to adjust for this situation.
• A round-off error represents the numerical amount between what a figure
actually is versus its closest real number value, depending on how the round
is applied.
• For instance, rounding to the nearest whole number means you round up or
down to what is the closest whole figure. In terms of numerical analysis the
round-off error is an attempt to identify what the rounding distance is when
it comes up in algorithms. It's also known as a quantization error.
16NUMERICAL APPROXIMATION
TRUNCATION ERROR
• A truncation error occurs when approximation is involved in numerical
analysis.
• The error factor is related to how much the approximate value is at variance
from the actual value in a formula or math result.
• For example, consider the speed of light in a vacuum. The official value is
299,792,458 m/s. In scientific notation, it is expressed as 2.99792458 x108.
Truncating it to 2 decimal places yields 2.99 x 108.
•The truncation error is the difference between the actual value and the
truncated value. This is equal to 0.00792458 x 108
or 7.92458 x 105
.
17NUMERICAL APPROXIMATION
NUMBER REPRESENTATION ERROR
• Number representation errors are errors that occur when numbers with
no exact value are approximated.
• For example, numbers with infinite decimal places or numbers that don’t
terminate in binary form e.g. 0.1
18NUMERICAL APPROXIMATION
APPROXIMATION ERROR
• The approximation error is the discrepancy between present
approximated value and the previous approximated value to it.
𝐸𝑎 = Present Approximation – Previous Approximation
19NUMERICAL APPROXIMATION
ERROR PROPAGATION
• Propagation of Error is defined as the effects on a function by a variable's
uncertainty.
• It is a calculus derived statistical calculation designed to combine
uncertainties from multiple variables, in order to provide an accurate
measurement of uncertainty.
20NUMERICAL APPROXIMATION
ADDITION OF MEASURED QUANTITIES
•If you have measured values for the quantities X, Y, and Z, with
uncertainties dX, dY, and dZ, and your final result, R, is the sum or difference
of these quantities, then the uncertainty dR is:
21NUMERICAL APPROXIMATION
𝑅 = 𝑋 + 𝑌 − 𝑍
𝛿𝑅 = 𝛿𝑋 + 𝛿𝑌 + 𝛿𝑍
𝛿𝑅 = 𝛿𝑋 2 + √ 𝛿𝑌 2
+√ 𝛿𝑍 2
MULTIPLICATION OF MEASURED
QUANTITIES
•In the same way as for sums and differences, we can also state the result for
the case of multiplication and division:
22NUMERICAL APPROXIMATION
𝑅 =
𝑋. 𝑌
𝑍
𝛿𝑅
𝑅
≈
𝛿𝑋
𝑋
+
𝛿𝑌
𝑌
+
𝛿𝑍
𝑍
𝛿𝑅 = 𝑅 . √
𝛿𝑋
𝑋
² + √
𝛿𝑌
𝑌
² + √
𝛿𝑍
𝑍
²
MULTIPLICATION WITH A CONSTANT
•If the uncertainty of an observable X is known, and it is to be multiplied by a
constant that is know exactly.
•The error can be found by multiplying the error in X by the absolute value of
the constant.
23NUMERICAL APPROXIMATION
𝑅 = 𝑐 . 𝑋
𝛿𝑅 = 𝑐 . 𝛿𝑋
POLYNOMIAL FUNCTIONS
•If there is a dependence of the result on the measured quantity X that is not
described by simple multiplications or additions, we state the general
answer for R as a general function of one or more variables below.
24NUMERICAL APPROXIMATION
POLYNOMIAL FUNCTIONS
25NUMERICAL APPROXIMATION
•But first cover the special case that R is polynomial functions of one variable
X.
𝑅 = 𝑋 𝑛
𝛿𝑅 = 𝑛 .
𝛿𝑋
𝑋
. 𝑅
GENERAL FUNCTIONS
•We can express the uncertainty in R for general functions of one or more observables.
•If R is a function of X and Y, written as R(X,Y), then the uncertainty in R is obtained by
taking the partial derivatives of R with respect to each variable, multiplication with the
uncertainty in that variable, and addition of these individual terms in quadrature.
26NUMERICAL APPROXIMATION
𝑅 = 𝑅 (𝑋, 𝑌, … )
𝛿𝑅 =
𝜕𝑅
𝜕𝑋
. 𝛿𝑋
2
+
𝜕𝑅
𝜕𝑌
. 𝛿𝑌
2
+ …
EULER’S METHOD
• For most first-order differential equations, it simply is not possible to find
analytic solutions, since they will not fall into the few classes for which solution
techniques are available. So our final approach to analyzing first-order
differential equations is to look at the possibility of constructing a numerical
approximation to the unique solution to the initial-value problem.
•It is important to emphasize that the Euler method does not generate a formula
for the solution to the differential equation. Rather it generates a sequence of
approximations to the value of the solution at specified points. The idea behind
Euler’s method therefore is to use the tangent line to the solution curve through
(X0, Y0) to obtain such an approximation.
NUMERICAL APPROXIMATION 27
EULER’S METHOD
Figure 2. Euler’s method for approximating the solution to the initial-value problem
y’= dy/dx = f(x,y), y(X0) = y0.
28NUMERICAL APPROXIMATION
EULER’S METHOD
29NUMERICAL APPROXIMATION
Figure 3. The exact solution to the initial-value problem considered in
Figure 2 and the two approximations obtained using Euler’s method.
Using the Formula for
EULER’S METHOD
• This formula gives a reasonably good approximation if we take plenty of terms, and if the
value of h is reasonably small. For Euler's Method, we take the first 2 terms only.
• We start with some known value of Y, which we could call Y0. It has this value when x = x0
• The result of using this formula is the value of Y one h step to the right of the current
value. Call it Y1.
So we have:
Y1=Y0+ hf(X0,Y0)
30NUMERICAL APPROXIMATION
Using the Formula for
EULER’S METHOD
Y1 is the next generated solution
Y0 is the current solution
h is the interval between steps
f(x0,Y0) is the value of the derivative at the starting point (x0,Y0)
This process is continued for as many trials as needed.
31NUMERICAL APPROXIMATION
EXAMPLE 1
Question:
Euler's Method- Approximate y(0.4) using E.M.
dy/dx= X+ 2y, y(0)=0
Step Size: h= 0.1
32NUMERICAL APPROXIMATION
EXAMPLE 1
Formulas:
Xn+ 1= Xn + h
Yn+ 1= Yn + hf(Xn,Yn)
33NUMERICAL APPROXIMATION
EXAMPLE 1
Solution:
N.B: Y(0)=0 tells us our initial conditions for X and Y.
So Since Y(X0) = Y0
then X0= 0 and Y0= 0
So
X0= 0 Y0= 0
X1= 0+0.1= 0.1 Y1= 0+0.1 ( 0 + 2(0) )= 0
34NUMERICAL APPROXIMATION
EXAMPLE 1
X2= 0.1+0.1= 0.2 Y2= 0+0.1 ( 0.1 + 2(0) )= 0.01
X3= 0.2+0.1= 0.3 Y3= 0.01+ 0.1 ( 0.2 + 2(0.01) )= 0.032
X4= 0.3+0.1= 0.4 Y4= 0.032+ 0.1 (0.3+ 2(0.032) )= 0.0684
Answer: Y(0.4) approximate to 0.0684
35NUMERICAL APPROXIMATION
EXAMPLE 2
Question:
Use Euler's method with step size 0.3 to compute the approximate y-
value y(0.9) of the solution of the initial value problem y'= X2 , y(0)= 1.
36NUMERICAL APPROXIMATION
EXAMPLE 2
Formulas:
Xn+ 1= Xn + h
Yn+ 1= Yn + hf(Xn,Yn)
37NUMERICAL APPROXIMATION
EXAMPLE 2
Solution:
X0= 0 Y0= 1
X1= 0+0.3= 0.3 Y1= 1+ 0.3(0)2= 1
X2= 0.3+0.3= 0.6 Y2= 1+ 0.3 (0.3)2= 1.027
X3= 0.6+0.3= 0.9 Y3= 1.027+ 0.3 (0.6)2= 1.135
Answer: Y(0.9) approxmiate to 1.135
38NUMERICAL APPROXIMATION
References
 http://homepage.divms.uiowa.edu/~atkinson/NA_Overview.pdf Date Retrieved: 2017-02-27 at 3:12pm
 https://www.ncsu.edu/labwrite/Experimental%20Design/accuracyprecision.htm Date Retrieved: 2017-
02-27 at 3:24pm
 https://www.slideshare.net/Mileacre/numerical-approximation-4118002 Date Retrieved: 2017-02-27 at
4:14pm
 https://www.techwalla.com/articles/types-of-errors-in-numerical-analysis Date Retrieved: 2017-02-27 at
4: 26pm
 http://www2.phy.ilstu.edu/~wenning/slh/Absolute%20Relative%20Error.pdf Date Retrieved: 2017-02-27
at 4:43pm
 http://www.intmath.com/differential-equations/11-eulers-method-des.php Date Retrieved: 2017-02-27
at 6:05pm
39NUMERICAL APPROXIMATION
END OF PRESENTATION
NUMERICAL APPROXIMATION 40

More Related Content

What's hot

Measures of dispersion range qd md
Measures of dispersion range qd mdMeasures of dispersion range qd md
Measures of dispersion range qd md
RekhaChoudhary24
 
Chapter 11 ,Measures of Dispersion(statistics)
Chapter  11 ,Measures of Dispersion(statistics)Chapter  11 ,Measures of Dispersion(statistics)
Chapter 11 ,Measures of Dispersion(statistics)
Ananya Sharma
 
Measures of Variation
Measures of VariationMeasures of Variation
Measures of Variation
Rica Joy Pontilar
 
Lesson 23 planning data analyses using statistics
Lesson 23 planning data analyses using statisticsLesson 23 planning data analyses using statistics
Lesson 23 planning data analyses using statistics
mjlobetos
 
Chap12 multiple regression
Chap12 multiple regressionChap12 multiple regression
Chap12 multiple regression
Judianto Nugroho
 
STANDARD DEVIATION (2018) (STATISTICS)
STANDARD DEVIATION (2018) (STATISTICS)STANDARD DEVIATION (2018) (STATISTICS)
STANDARD DEVIATION (2018) (STATISTICS)
sumanmathews
 
Math unit18 measure of variation
Math unit18 measure of variationMath unit18 measure of variation
Math unit18 measure of variation
eLearningJa
 
Bivariate linear regression
Bivariate linear regressionBivariate linear regression
Bivariate linear regression
Menaal Kaushal
 
Measures of dispersion
Measures of dispersionMeasures of dispersion
Measures of dispersion
Habibullah Bahar University College
 
Simple Linier Regression
Simple Linier RegressionSimple Linier Regression
Simple Linier Regression
dessybudiyanti
 
coefficient variation
coefficient variationcoefficient variation
coefficient variation
MARIA KATRINA MACAPAZ
 
14 ch ken black solution
14 ch ken black solution14 ch ken black solution
14 ch ken black solution
Krunal Shah
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distribution
Shubham Mehta
 
Measures of variability
Measures of variabilityMeasures of variability
Measures of variability
Mark Santos
 
3.3 Measures of Variation
3.3 Measures of Variation3.3 Measures of Variation
3.3 Measures of Variation
mlong24
 
What is Simple Linear Regression and How Can an Enterprise Use this Technique...
What is Simple Linear Regression and How Can an Enterprise Use this Technique...What is Simple Linear Regression and How Can an Enterprise Use this Technique...
What is Simple Linear Regression and How Can an Enterprise Use this Technique...
Smarten Augmented Analytics
 
Measure of dispersion part II ( Standard Deviation, variance, coefficient of ...
Measure of dispersion part II ( Standard Deviation, variance, coefficient of ...Measure of dispersion part II ( Standard Deviation, variance, coefficient of ...
Measure of dispersion part II ( Standard Deviation, variance, coefficient of ...
Shakehand with Life
 
Measures of variability to grading and reporting
Measures of variability to grading and reportingMeasures of variability to grading and reporting
Measures of variability to grading and reporting
April Gealene Alera
 
Standard deviation
Standard deviationStandard deviation
Statistical Analysis of the "Statistics Marks" of PGDM Students
Statistical Analysis of the "Statistics Marks" of PGDM StudentsStatistical Analysis of the "Statistics Marks" of PGDM Students
Statistical Analysis of the "Statistics Marks" of PGDM Students
Nivin Vinoi
 

What's hot (20)

Measures of dispersion range qd md
Measures of dispersion range qd mdMeasures of dispersion range qd md
Measures of dispersion range qd md
 
Chapter 11 ,Measures of Dispersion(statistics)
Chapter  11 ,Measures of Dispersion(statistics)Chapter  11 ,Measures of Dispersion(statistics)
Chapter 11 ,Measures of Dispersion(statistics)
 
Measures of Variation
Measures of VariationMeasures of Variation
Measures of Variation
 
Lesson 23 planning data analyses using statistics
Lesson 23 planning data analyses using statisticsLesson 23 planning data analyses using statistics
Lesson 23 planning data analyses using statistics
 
Chap12 multiple regression
Chap12 multiple regressionChap12 multiple regression
Chap12 multiple regression
 
STANDARD DEVIATION (2018) (STATISTICS)
STANDARD DEVIATION (2018) (STATISTICS)STANDARD DEVIATION (2018) (STATISTICS)
STANDARD DEVIATION (2018) (STATISTICS)
 
Math unit18 measure of variation
Math unit18 measure of variationMath unit18 measure of variation
Math unit18 measure of variation
 
Bivariate linear regression
Bivariate linear regressionBivariate linear regression
Bivariate linear regression
 
Measures of dispersion
Measures of dispersionMeasures of dispersion
Measures of dispersion
 
Simple Linier Regression
Simple Linier RegressionSimple Linier Regression
Simple Linier Regression
 
coefficient variation
coefficient variationcoefficient variation
coefficient variation
 
14 ch ken black solution
14 ch ken black solution14 ch ken black solution
14 ch ken black solution
 
Normal Distribution
Normal DistributionNormal Distribution
Normal Distribution
 
Measures of variability
Measures of variabilityMeasures of variability
Measures of variability
 
3.3 Measures of Variation
3.3 Measures of Variation3.3 Measures of Variation
3.3 Measures of Variation
 
What is Simple Linear Regression and How Can an Enterprise Use this Technique...
What is Simple Linear Regression and How Can an Enterprise Use this Technique...What is Simple Linear Regression and How Can an Enterprise Use this Technique...
What is Simple Linear Regression and How Can an Enterprise Use this Technique...
 
Measure of dispersion part II ( Standard Deviation, variance, coefficient of ...
Measure of dispersion part II ( Standard Deviation, variance, coefficient of ...Measure of dispersion part II ( Standard Deviation, variance, coefficient of ...
Measure of dispersion part II ( Standard Deviation, variance, coefficient of ...
 
Measures of variability to grading and reporting
Measures of variability to grading and reportingMeasures of variability to grading and reporting
Measures of variability to grading and reporting
 
Standard deviation
Standard deviationStandard deviation
Standard deviation
 
Statistical Analysis of the "Statistics Marks" of PGDM Students
Statistical Analysis of the "Statistics Marks" of PGDM StudentsStatistical Analysis of the "Statistics Marks" of PGDM Students
Statistical Analysis of the "Statistics Marks" of PGDM Students
 

Similar to Numerical approximation

Ch4_Uncertainty Analysis_1(3).pdf
Ch4_Uncertainty Analysis_1(3).pdfCh4_Uncertainty Analysis_1(3).pdf
Ch4_Uncertainty Analysis_1(3).pdf
Vamshi962726
 
Statistical analysis in analytical chemistry
Statistical analysis in analytical chemistryStatistical analysis in analytical chemistry
Statistical analysis in analytical chemistry
Jethro Masangkay
 
Error in chemical analysis
Error in chemical analysisError in chemical analysis
Error in chemical analysis
Suresh Selvaraj
 
introduction to Numerical Analysis
introduction to Numerical Analysisintroduction to Numerical Analysis
introduction to Numerical Analysis
Ghulam Mehdi Sahito
 
Numerical Analysis And Linear Algebra
Numerical Analysis And Linear AlgebraNumerical Analysis And Linear Algebra
Numerical Analysis And Linear Algebra
Ghulam Murtaza
 
Chapter 1 Errors and Approximations.ppt
Chapter 1 Errors  and Approximations.pptChapter 1 Errors  and Approximations.ppt
Chapter 1 Errors and Approximations.ppt
Eyob Adugnaw
 
Diploma sem 2 applied science physics-unit 1-chap 2 error s
Diploma sem 2 applied science physics-unit 1-chap 2 error sDiploma sem 2 applied science physics-unit 1-chap 2 error s
Diploma sem 2 applied science physics-unit 1-chap 2 error s
Rai University
 
Error analysis
Error analysisError analysis
Error analysis
sandeep20051996
 
VCE Physics: Dealing with numerical measurments
VCE Physics: Dealing with numerical measurmentsVCE Physics: Dealing with numerical measurments
VCE Physics: Dealing with numerical measurments
Andrew Grichting
 
Chapter one
Chapter oneChapter one
Chapter one
tesfahun meshesha
 
introduction to measurements.pptx
introduction to measurements.pptxintroduction to measurements.pptx
introduction to measurements.pptx
Mahamad Jawhar
 
Surveying 3 precision
Surveying 3 precisionSurveying 3 precision
Surveying 3 precision
AMAHORO123
 
Applied numerical methods lec3
Applied numerical methods lec3Applied numerical methods lec3
Applied numerical methods lec3
Yasser Ahmed
 
MEASUREMENT - TOPIC 1 (MEASUREMENT AND ERROR).pdf
MEASUREMENT - TOPIC 1 (MEASUREMENT AND ERROR).pdfMEASUREMENT - TOPIC 1 (MEASUREMENT AND ERROR).pdf
MEASUREMENT - TOPIC 1 (MEASUREMENT AND ERROR).pdf
MohdYusri55
 
C language numanal
C language numanalC language numanal
C language numanal
aluavi
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
rubenarismendi
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
rubenarismendi
 
NUMERICA METHODS 1 final touch summary for test 1
NUMERICA METHODS 1 final touch summary for test 1NUMERICA METHODS 1 final touch summary for test 1
NUMERICA METHODS 1 final touch summary for test 1
musadoto
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
Chapter 2Chapter 2

Similar to Numerical approximation (20)

Ch4_Uncertainty Analysis_1(3).pdf
Ch4_Uncertainty Analysis_1(3).pdfCh4_Uncertainty Analysis_1(3).pdf
Ch4_Uncertainty Analysis_1(3).pdf
 
Statistical analysis in analytical chemistry
Statistical analysis in analytical chemistryStatistical analysis in analytical chemistry
Statistical analysis in analytical chemistry
 
Error in chemical analysis
Error in chemical analysisError in chemical analysis
Error in chemical analysis
 
introduction to Numerical Analysis
introduction to Numerical Analysisintroduction to Numerical Analysis
introduction to Numerical Analysis
 
Numerical Analysis And Linear Algebra
Numerical Analysis And Linear AlgebraNumerical Analysis And Linear Algebra
Numerical Analysis And Linear Algebra
 
Chapter 1 Errors and Approximations.ppt
Chapter 1 Errors  and Approximations.pptChapter 1 Errors  and Approximations.ppt
Chapter 1 Errors and Approximations.ppt
 
Diploma sem 2 applied science physics-unit 1-chap 2 error s
Diploma sem 2 applied science physics-unit 1-chap 2 error sDiploma sem 2 applied science physics-unit 1-chap 2 error s
Diploma sem 2 applied science physics-unit 1-chap 2 error s
 
Error analysis
Error analysisError analysis
Error analysis
 
VCE Physics: Dealing with numerical measurments
VCE Physics: Dealing with numerical measurmentsVCE Physics: Dealing with numerical measurments
VCE Physics: Dealing with numerical measurments
 
Chapter one
Chapter oneChapter one
Chapter one
 
introduction to measurements.pptx
introduction to measurements.pptxintroduction to measurements.pptx
introduction to measurements.pptx
 
Surveying 3 precision
Surveying 3 precisionSurveying 3 precision
Surveying 3 precision
 
Applied numerical methods lec3
Applied numerical methods lec3Applied numerical methods lec3
Applied numerical methods lec3
 
MEASUREMENT - TOPIC 1 (MEASUREMENT AND ERROR).pdf
MEASUREMENT - TOPIC 1 (MEASUREMENT AND ERROR).pdfMEASUREMENT - TOPIC 1 (MEASUREMENT AND ERROR).pdf
MEASUREMENT - TOPIC 1 (MEASUREMENT AND ERROR).pdf
 
C language numanal
C language numanalC language numanal
C language numanal
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
 
Approximation and error
Approximation and errorApproximation and error
Approximation and error
 
NUMERICA METHODS 1 final touch summary for test 1
NUMERICA METHODS 1 final touch summary for test 1NUMERICA METHODS 1 final touch summary for test 1
NUMERICA METHODS 1 final touch summary for test 1
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 

Recently uploaded

Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
SakkaravarthiShanmug
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 

Recently uploaded (20)

Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 

Numerical approximation

  • 1. UNIVERSITY OF GUYANA FACULTY OF TECHNOLOGY Department of Civil With Environmental Engineering EMT 3200- ENGINEERING MATHEMATICS V TOPIC: NUMERICAL APPROXIMATION NUMERICAL APPROXIMATION 1
  • 2. GROUP MEMBERS Orin Edwards 1013799 Mazule Hutson 1014749 Malik Lewis 1014806 Silos Singh 1011551 Akeem St. Louis 1012535 Haresh Jaipershad 1011056 Joemoal Williams 1014049 Parmendra Persaud 1010286 2NUMERICAL APPROXIMATION
  • 3. OUTLINE OF PRESENTATION  Introduction  Accuracy and Precision  Mistakes  Errors  Types of Errors  Error Propagation  Euler’s Method  References 3NUMERICAL APPROXIMATION
  • 4. INTRODUCTION • Numerical analysis is the area of mathematics and computer science that creates, analyzes, and implements algorithms for solving numerically, the problems of continuous mathematics. • Such problems originate generally from real-world applications of algebra, geometry and calculus, and they involve variables which vary continuously. • Numerical Approximation is an inexact representation of a numerical value that is still close enough to be useful. 4NUMERICAL APPROXIMATION
  • 5. ACCURACY • Accuracy refers to the closeness of a measured value to a standard or known value. • For example, in lab you obtain a weight measurement of 3.2 kg for a given substance, but the actual or known weight is 10 kg. • Your measurement is inaccurate as it is not close to the known value. 5NUMERICAL APPROXIMATION
  • 6. PRECISION • Precision refers to the closeness of two or more measurements to each other. • Using the same example, you weigh a given substance five times and get 3.2 kg • Precision is independent of accuracy. You can be very precise but inaccurate as well as accurate but imprecise. • The term error represents the imprecision and inaccuracy of a numerical computation. 6NUMERICAL APPROXIMATION
  • 7. 7NUMERICAL APPROXIMATION ACCURACY & PRECISION Figure 1 shows some examples of accuracy and precision
  • 8. MISTAKES • According to the Cambridge Dictionary, a mistake is “an action, decision, or judgment that produces an unwanted or unintentional result”. • In numerical analysis, a mistake is not an error. • A mistake is due to blunder and it may be negligible, with little or no effect on the accuracy of the calculation or it may be so serious as to render the calculated results quite wrong. 8NUMERICAL APPROXIMATION
  • 9. MISTAKES Some common mistakes include: • Misreading of repeated digits (e.g., reading 26638 as 26338). •Transposition of digits (e.g., reading 1832 as 1382). • Incorrectly positioning a decimal point; (e.g., placing a decimal point at 422.438 as 4224.38). • Overlooking signs (especially near sign changes). • Mistakes in reading the instrument, recording and tabulating data. •Misreading of tables (for example, referring to a wrong line or a wrong column). 9NUMERICAL APPROXIMATION
  • 10. MISTAKES 10NUMERICAL APPROXIMATION Picture showing error in reading from a thermometer
  • 11. MISTAKES Some ways to minimize mistakes include: • Have an awareness of common mistakes • Ensure signs are clearly written • Double check calculations 11NUMERICAL APPROXIMATION
  • 12. ERRORS • The numerical errors are generated with the use of approximations to represent mathematical operations and quantities. • An error is the representation of the inaccuracy and vagueness of predictions. • For the types of errors, the relationship between the true value or true result and the approximate value is given by: True Value = Approximation + error 12NUMERICAL APPROXIMATION
  • 13. ABSOLUTE ERROR • Is the amount of physical error in a measurement. • Let’s say a meter stick is used to measure a given distance. The error is rather hastily made, but it is good to ±1mm. • This is the absolute error of the measurement. That is, absolute error = ±1mm (0.001m) 13NUMERICAL APPROXIMATION
  • 14. RELATIVE ERROR • This gives an indication of how good a measurement is relative to the size of the thing being measured. • Let’s say that two students measure two objects with a meter stick. One student measures the height of a room and gets a value of 3.215 meters ±1mm (0.001m). Another student measures the height of a small cylinder and measures 0.075 meters ±1mm (0.001m). • Clearly, the overall accuracy of the ceiling height is much better than that of the 7.5 cm cylinder. 14NUMERICAL APPROXIMATION
  • 15. RELATIVE ERROR The comparative accuracy of these measurements can be determined by looking at their relative errors. • Relative error = absolute error / value of thing measured • Relative error (ceiling height) = 0.001m/ 3.125m •100 = 0.0003% • Relative error (cylinder height) = 0.001m/ 0.075m •100 = 0.01% The relative error in the ceiling height is considerably smaller than the relative error in the cylinder height even though the amount of absolute error is the same in each case. 15NUMERICAL APPROXIMATION
  • 16. ROUND OFF ERROR • The round-off error is used because representing every number as a real number isn't possible. So rounding is introduced to adjust for this situation. • A round-off error represents the numerical amount between what a figure actually is versus its closest real number value, depending on how the round is applied. • For instance, rounding to the nearest whole number means you round up or down to what is the closest whole figure. In terms of numerical analysis the round-off error is an attempt to identify what the rounding distance is when it comes up in algorithms. It's also known as a quantization error. 16NUMERICAL APPROXIMATION
  • 17. TRUNCATION ERROR • A truncation error occurs when approximation is involved in numerical analysis. • The error factor is related to how much the approximate value is at variance from the actual value in a formula or math result. • For example, consider the speed of light in a vacuum. The official value is 299,792,458 m/s. In scientific notation, it is expressed as 2.99792458 x108. Truncating it to 2 decimal places yields 2.99 x 108. •The truncation error is the difference between the actual value and the truncated value. This is equal to 0.00792458 x 108 or 7.92458 x 105 . 17NUMERICAL APPROXIMATION
  • 18. NUMBER REPRESENTATION ERROR • Number representation errors are errors that occur when numbers with no exact value are approximated. • For example, numbers with infinite decimal places or numbers that don’t terminate in binary form e.g. 0.1 18NUMERICAL APPROXIMATION
  • 19. APPROXIMATION ERROR • The approximation error is the discrepancy between present approximated value and the previous approximated value to it. 𝐸𝑎 = Present Approximation – Previous Approximation 19NUMERICAL APPROXIMATION
  • 20. ERROR PROPAGATION • Propagation of Error is defined as the effects on a function by a variable's uncertainty. • It is a calculus derived statistical calculation designed to combine uncertainties from multiple variables, in order to provide an accurate measurement of uncertainty. 20NUMERICAL APPROXIMATION
  • 21. ADDITION OF MEASURED QUANTITIES •If you have measured values for the quantities X, Y, and Z, with uncertainties dX, dY, and dZ, and your final result, R, is the sum or difference of these quantities, then the uncertainty dR is: 21NUMERICAL APPROXIMATION 𝑅 = 𝑋 + 𝑌 − 𝑍 𝛿𝑅 = 𝛿𝑋 + 𝛿𝑌 + 𝛿𝑍 𝛿𝑅 = 𝛿𝑋 2 + √ 𝛿𝑌 2 +√ 𝛿𝑍 2
  • 22. MULTIPLICATION OF MEASURED QUANTITIES •In the same way as for sums and differences, we can also state the result for the case of multiplication and division: 22NUMERICAL APPROXIMATION 𝑅 = 𝑋. 𝑌 𝑍 𝛿𝑅 𝑅 ≈ 𝛿𝑋 𝑋 + 𝛿𝑌 𝑌 + 𝛿𝑍 𝑍 𝛿𝑅 = 𝑅 . √ 𝛿𝑋 𝑋 ² + √ 𝛿𝑌 𝑌 ² + √ 𝛿𝑍 𝑍 ²
  • 23. MULTIPLICATION WITH A CONSTANT •If the uncertainty of an observable X is known, and it is to be multiplied by a constant that is know exactly. •The error can be found by multiplying the error in X by the absolute value of the constant. 23NUMERICAL APPROXIMATION 𝑅 = 𝑐 . 𝑋 𝛿𝑅 = 𝑐 . 𝛿𝑋
  • 24. POLYNOMIAL FUNCTIONS •If there is a dependence of the result on the measured quantity X that is not described by simple multiplications or additions, we state the general answer for R as a general function of one or more variables below. 24NUMERICAL APPROXIMATION
  • 25. POLYNOMIAL FUNCTIONS 25NUMERICAL APPROXIMATION •But first cover the special case that R is polynomial functions of one variable X. 𝑅 = 𝑋 𝑛 𝛿𝑅 = 𝑛 . 𝛿𝑋 𝑋 . 𝑅
  • 26. GENERAL FUNCTIONS •We can express the uncertainty in R for general functions of one or more observables. •If R is a function of X and Y, written as R(X,Y), then the uncertainty in R is obtained by taking the partial derivatives of R with respect to each variable, multiplication with the uncertainty in that variable, and addition of these individual terms in quadrature. 26NUMERICAL APPROXIMATION 𝑅 = 𝑅 (𝑋, 𝑌, … ) 𝛿𝑅 = 𝜕𝑅 𝜕𝑋 . 𝛿𝑋 2 + 𝜕𝑅 𝜕𝑌 . 𝛿𝑌 2 + …
  • 27. EULER’S METHOD • For most first-order differential equations, it simply is not possible to find analytic solutions, since they will not fall into the few classes for which solution techniques are available. So our final approach to analyzing first-order differential equations is to look at the possibility of constructing a numerical approximation to the unique solution to the initial-value problem. •It is important to emphasize that the Euler method does not generate a formula for the solution to the differential equation. Rather it generates a sequence of approximations to the value of the solution at specified points. The idea behind Euler’s method therefore is to use the tangent line to the solution curve through (X0, Y0) to obtain such an approximation. NUMERICAL APPROXIMATION 27
  • 28. EULER’S METHOD Figure 2. Euler’s method for approximating the solution to the initial-value problem y’= dy/dx = f(x,y), y(X0) = y0. 28NUMERICAL APPROXIMATION
  • 29. EULER’S METHOD 29NUMERICAL APPROXIMATION Figure 3. The exact solution to the initial-value problem considered in Figure 2 and the two approximations obtained using Euler’s method.
  • 30. Using the Formula for EULER’S METHOD • This formula gives a reasonably good approximation if we take plenty of terms, and if the value of h is reasonably small. For Euler's Method, we take the first 2 terms only. • We start with some known value of Y, which we could call Y0. It has this value when x = x0 • The result of using this formula is the value of Y one h step to the right of the current value. Call it Y1. So we have: Y1=Y0+ hf(X0,Y0) 30NUMERICAL APPROXIMATION
  • 31. Using the Formula for EULER’S METHOD Y1 is the next generated solution Y0 is the current solution h is the interval between steps f(x0,Y0) is the value of the derivative at the starting point (x0,Y0) This process is continued for as many trials as needed. 31NUMERICAL APPROXIMATION
  • 32. EXAMPLE 1 Question: Euler's Method- Approximate y(0.4) using E.M. dy/dx= X+ 2y, y(0)=0 Step Size: h= 0.1 32NUMERICAL APPROXIMATION
  • 33. EXAMPLE 1 Formulas: Xn+ 1= Xn + h Yn+ 1= Yn + hf(Xn,Yn) 33NUMERICAL APPROXIMATION
  • 34. EXAMPLE 1 Solution: N.B: Y(0)=0 tells us our initial conditions for X and Y. So Since Y(X0) = Y0 then X0= 0 and Y0= 0 So X0= 0 Y0= 0 X1= 0+0.1= 0.1 Y1= 0+0.1 ( 0 + 2(0) )= 0 34NUMERICAL APPROXIMATION
  • 35. EXAMPLE 1 X2= 0.1+0.1= 0.2 Y2= 0+0.1 ( 0.1 + 2(0) )= 0.01 X3= 0.2+0.1= 0.3 Y3= 0.01+ 0.1 ( 0.2 + 2(0.01) )= 0.032 X4= 0.3+0.1= 0.4 Y4= 0.032+ 0.1 (0.3+ 2(0.032) )= 0.0684 Answer: Y(0.4) approximate to 0.0684 35NUMERICAL APPROXIMATION
  • 36. EXAMPLE 2 Question: Use Euler's method with step size 0.3 to compute the approximate y- value y(0.9) of the solution of the initial value problem y'= X2 , y(0)= 1. 36NUMERICAL APPROXIMATION
  • 37. EXAMPLE 2 Formulas: Xn+ 1= Xn + h Yn+ 1= Yn + hf(Xn,Yn) 37NUMERICAL APPROXIMATION
  • 38. EXAMPLE 2 Solution: X0= 0 Y0= 1 X1= 0+0.3= 0.3 Y1= 1+ 0.3(0)2= 1 X2= 0.3+0.3= 0.6 Y2= 1+ 0.3 (0.3)2= 1.027 X3= 0.6+0.3= 0.9 Y3= 1.027+ 0.3 (0.6)2= 1.135 Answer: Y(0.9) approxmiate to 1.135 38NUMERICAL APPROXIMATION
  • 39. References  http://homepage.divms.uiowa.edu/~atkinson/NA_Overview.pdf Date Retrieved: 2017-02-27 at 3:12pm  https://www.ncsu.edu/labwrite/Experimental%20Design/accuracyprecision.htm Date Retrieved: 2017- 02-27 at 3:24pm  https://www.slideshare.net/Mileacre/numerical-approximation-4118002 Date Retrieved: 2017-02-27 at 4:14pm  https://www.techwalla.com/articles/types-of-errors-in-numerical-analysis Date Retrieved: 2017-02-27 at 4: 26pm  http://www2.phy.ilstu.edu/~wenning/slh/Absolute%20Relative%20Error.pdf Date Retrieved: 2017-02-27 at 4:43pm  http://www.intmath.com/differential-equations/11-eulers-method-des.php Date Retrieved: 2017-02-27 at 6:05pm 39NUMERICAL APPROXIMATION
  • 40. END OF PRESENTATION NUMERICAL APPROXIMATION 40