LEC 1 Introduction
LEC 1 Introduction
Chapter -1-
Numeric analysis
or briefly numeric has a distinct flavor that is different from basic calculus,
from solving ODEs algebraically, or from other (nonnumeric) areas. Whereas
in calculus and in ODEs there were very few choices on how to solve the
problem and your answer was an algebraic answer, in numeric you have many
more choices and your answers are given as tables of values (numbers) or
graphs.
Numeric provides an invaluable extension to the knowledge base of the
problem-solving engineer. Many problems have no solution formula (think of
a complicated integral or a polynomial of high degree or the interpolation of
values obtained by measurements). In other cases, a complicated solution
formula may exist but may be practically useless. It is for these kinds of
problems that a numerical method may generate a good answer. Thus, it is
very important that the applied mathematician, engineer, physicist, or scientist
becomes familiar with the essentials of numeric and its ideas, such as
estimation of errors, order of convergence, numerical methods expressed in
algorithms, and is also informed about the important numeric methods.
1.1 Introduction
As an engineer or physicist, you may deal with problems in elasticity and need
to solve an equation such as 𝑥 cosh 𝑥 = 1 or a more difficult problem of
finding the roots of a higher order polynomial. Or you encounter an integral
such as
2
∫ 𝑒 −𝑥 𝑑𝑥
that you cannot solve by elementary calculus. Such problems, which are
difficult or impossible to solve algebraically, arise frequently in applications.
They call for numeric methods, that is, systematic methods that are suitable
for solving, numerically, the problems on computers or calculators. Typical
numeric methods are iterative in nature and, for a well-chosen problem and a
good starting value, will frequently converge to a desired answer.
to an approximation suitable for numeric to a final answer usually requires the
following steps:
1
Engineering College Chemical Engineering Dept.
1.2 Roundoff
An error is caused by chopping discarding all digits from some decimal on)
or rounding. This error is called roundoff error, regardless of whether we chop
or round. The rule for rounding off a number to k decimals is as follows
Roundoff Rule. To round a number x to k decimals, and 5 ∗ 10−(𝑘+1) to x
and chop the digits after the (k +1)st digit.
2
Engineering College Chemical Engineering Dept.
4
Engineering College Chemical Engineering Dept.