Chapter 1
Chapter 1
Introduction to
Numerical Computin1g
INTRODUCTION
Numerical computations play an indispensable role in solving real
mathematical, physical and engineering problems. They have beer.
use for centuries even before digital
computers appeared on the sce
Great mathematicians like Gauss, Newton,
Lagrange, Fourier and mau
others in the eighteenth and nineteenth centuries
developed numer
techniques which are still widely used. The advent of digital compu
has, however, enhanced the speed and accuracy
tations.
of numerical cor
What is numerical computing? It is
to this fundamental question before we
important to understand the anse
proceed further. Numerivai
computing is an approach for soiving complex mathematical problems
using only simple arithmetic operations. The approach
involve
formulation of mathematical models of physical situations that can be
solved with arithmetic operations. It requires development, analysis and
use of algorithms.
Numerical computations invariably involve a large numbe:
arithmetic calculations and, therefore, require fast and efficient
computing
devices. The microelectronics revolution and the
of high power, low cost
subsequent developrment
personal computers have had a profound impact
on
the application of numerical computing methods to solve scierif
problems.
The traditional numerical
computing methods usually deal with
foiowing topics:
1. finding roots of
equations
2 Numerical Methods
equations
algebraic
of linear
systems analysis
2. solving and
regression
interpolation
3.
4. n u m e r i c a l i n t e g r a t i o n
5 . n u m e r i c a l d i f f e r e n t i a t i o n
equations
differential
solution of
6. value problems
boundary
7. matrix
problems methods availabi.
2 NUMERIC DATA
L3 ANALOG COMPUTING
14 DIGITAL COMPUTING
which
A digital computer is a computing device that operates on inputs
are discrete in nature. The input data are numbers (or digits) that may
symbols. Just as a digital
represent numerals, letters, or other special an hour, a digital
clock counts the seconds and minutes in
directly the results.
computer counts discrete data values to compute but
the analog information,
Today's digital computers can cope with the
have to convert it into digital form. They do this by measuring
they
value of analog quantity at regular
intervals and converting that
to that
measurement number of electrical pulses corresponding
into a the
time and hands on
measurement. analog watch, for example,
In an
converts the
watch face change continuously; a digital
watch, however,
on
intervals, marked by the numbers changing
passage of time into tiny
the dial.
are more accurate than analog computers. Analog
Digital computers correct value,
within 0.1 per cent of the
accurate to
computers may be 1s
whereas digital computers can
obtain whatever degree of accuracy
correct number of decimal places.
They are
COMPUTING
PROCESS OF NUMERICAL
1.5
involves formulation of
As stated earlier, numerical computing basic
that c a n be solved using
mathematical models of physical problems
arithmetic operations. The process
of numerical computing can be roughly
1.1:
which are illustrated in Fig.
divided into the following four phases
mathematical model
1. formulation of a
numerical method
2. construction of a n appropriate
method to obtain a solution
3. implementation of the
4. validation of the solution critical to the
suitable mathematical model is
The formulation of a defined as
mathematical model c a n be broadly
solution of the problem. A
that expressés the
a formulation
of certain mathematical equation
or process. Models may range
essential features of a physical system
from a simple algebraic equation
to a complex set of differential equations.
mathematical equations that might
Figure 1.2 shows various types of
mathematical models of physical processes.
result while forinulating siatement of
mathematical model begins with a
The formulation of a
considered. The factors may
associated factors to be
the problem and the
other laws of conservation in physics.
concern tie baiance of forces and
4 Numerical M e t h o d s
(
Numerical Computing Z
Introduction to
Numerical Methods
At 0, we get,
Taking the limits
>
The
maintain the balance of where Po is the population C =
C1- C2
must always o n the growth
constant
= C, P t ) at - C2P(t) A
baugsa
Application Solution techniques
= (C - C2) PU) At
and toolss
Fig. 1.3 Another way of looking at the computing process
AP
Growth rate a=
At
CP(t)
merical Methods Introduction to Numerical Computing 2
In this chapter, we have introduced the concept of numerical computing problems. a numerical computing
12. Describe resources required for implementing
and discussed the steps involved in solving a physical problem using
numerical methods. We also discussed the characteristics
of numerical process.
Key Termns
terative process
Accuracy
Mathematical model
Algorithm
Analog computer Numerical computing
Numenical method
C
C++ Numenical stability
Continuous data Parallel computers
Rate of convergencee
Digital computer
Discrete data Round off error
REVIEW QUESTIONS
1. What is Numerical Computing?
computing.
2. Distinguish between analog computing and digital
3. Describe, with the help of a block diagram, the process of numer
cal computing.