Chapter One: Mathematical Modeling
Chapter One: Mathematical Modeling
MATHEMATICAL MODELING
1
Numerical Method
Is a technique by which mathematical problems are formulated so that they
can be solved with arithmetic operations
Numerical analysis always utilizes a discrete set of points to represent
functions
Why use Numerical Methods?
To solve problems have discrete data points
To solve problems that are intractable
How do we solve an engineering problem?
Problem Description
Mathematical Model
2
Use the Solution
Mathematical Modeling
Is an abstract model that uses mathematical language to describe
the behavior of a system
Usually describes a system by a set of variables and a set of
equations that establish relationships between the variables
Dependent variable = f (Independent variables, Parameters,
Forcing functions)
3
Mathematical Modeling …
Where:
The dependent (state) variable is a characteristic that usually reflects the
behavior or state of the system.
The independent (decision) variables are usually dimensions such as time and
space, along which the system’s behavior is determined.
The parameters (constants) are reflective of the system’s properties or
composition.
The forcing functions are external influences up on the system.
F ma - Newton second law of motion
a F/m
Where
a = the dependent variable reflecting the system’s behavior,
5
6
Two Sources of Numerical Error
2. Truncation error
7
Round-off Error
The error caused by replacing a number by its closest number is called the
round-off error.
Example: Approximate the following decimal numbers to four digits by
using rounding
π = 3.14159265358979323846264338
2 1.4142135623730950488
Answer
π= 3.142
2 1.414
8
Truncation Error
Sometimes called chopping errors are occurred when chopping an
infinite number and replaced it by a finite number or by truncated a series
after finite number of terms.
Examples: Approximate the following decimal numbers to four digits by
chopping
π = 3.14159265358979323846264338
Chop π to 3 decimal points, π= 3.141
2!
Total Numerical Errors
is the summation of the truncation and
round-off errors.
Inherent Error
is resulted due to inaccurate numerical
data
10
Convergence
is the closeness of the approximated result to the solution as the
computation progresses.
11
The End!