EMATH 124: Numerical Methods
EMATH 124: Numerical Methods
EMATH 124: Numerical Methods
Numerical Methods
Module 1: Introduction
Note:
Since the numerical method
involved an approximation there
was a discrepancy or error
Error
Round – off Error
• Rounding error
• The difference between the calculated approximation of a number and its exact mathematical
value due to rounding
• The difference between a rounded – off numerical value and the actual value
• A rounded quantity is represented by a numeral with a fixed number of allowed digits, with the
last digit set to the value that produces the smallest difference between the rounded quantity
and the actual quantity
Example:
The irrational number π
π = 3.14159625… round to
π = 3.14….
Error
Question: Answer:
Given the temperature now, can •No.
No one can predict
you tell what will be the unless someone told you the rate
temperature tomorrow? of temperature.
Taylor Series:
Formula:
Derivations:
•of x=0.
Approximation of the value of function at f(x) given intial value
Example:
•
Given:
Note: There are some functions such as , which do not have Maclaurin’s series since their derivatives do
not exist when at
Sample Problem:
• the Maclaurin’s Series Expansion for
Find
Roots of Equation