Ennuma20 - Module 01 - Introduction
Ennuma20 - Module 01 - Introduction
Ennuma20 - Module 01 - Introduction
ENNUMA20:
NUMERICAL METHODS
AND ANALYSIS
INTRODUCTION
Table of Contents
Part 1. Introduction to Numerical
Methods
Part 2. Mathematical Modeling
Part 1
INTRODUCTION TO
NUMERICAL METHODS
BACKGROUND
Numerical methods are mathematical techniques used for
solving mathematical problems that cannot be solved or are
difficult to solve analytically.
An analytical solution is an exact answer in the form of a
mathematical expression in terms of the variables associated
with the problem that is being solved.
A numerical solution is an approximate numerical value for
the solution. Although numerical solutions are an
approximation, they can be very accurate.
INTRODUCTION
Numerical analysis is a branch of mathematics that deals with
devising efficient methods for obtaining numerical solutions
to difficult mathematical problems.
Most of the mathematical problems that arise in science and
engineering are very hard and sometime impossible to solve
exactly.
Thus, an approximation to a difficult mathematical problem
is very important to make it easier to solve.
INTRODUCTION
Due to the immense development in the computational
technology, numerical approximation has become more
popular and a modern tool for scientists and engineers.
As a result, many scientific softwares are developed to handle
more difficult problems in an efficient and easy way.
INTRODUCTION
These softwares contain functions that uses standard
numerical methods, where a user can pass the required
parameters and get the results just by a single command
without knowing the details of the numerical method.
INTRODUCTION
Thus, one may ask why we need to understand numerical
methods when such softwares are at our hands?
In fact, there is no need of a deeper knowledge of numerical
methods and their analysis in most of the cases to use some
standard softwares as an end user. However, there are at least
three reasons to gain a basic understanding of the theoretical
background of numerical methods.
INTRODUCTION
1. Learning different numerical methods and their analysis
will make a person more familiar with the technique of
developing new numerical methods. This is important
when the available methods arenot enough or not efficient
for a specific problem to be solved.
INTRODUCTION
2. In many circumstances, one has more methods for a given
problem. Hence, choosing an appropriate method is
important for producing an accurate result in lesser time.
INTRODUCTION
3. With a sound background, one can use methods properly
and, most importantly, one can understand what is going
wrong when results are not as expected.
INTRODUCTION
Numerical analysis include four parts.
❑ Problem Statement
❑ Formulation of the Solution
❑ Programming
❑ Interpretation of the Solution
INTRODUCTION
Problem Statement
• The problem statement defines the problem.
• It gives a description of the problem, lists the variables
that are involved, and identifies the constraints in the
form of boundary and/or the initial conditions.
INTRODUCTION
Formulation of the Solution
• It consists of the model that is used to represent the
problem and the derivation of the governing equations
that need to be solved.
• The models that are used to solve the problem need to
be consistent with the methods that are subsequently
used for solving the equations.
• If analytical methods are expected to be used for the
solution, the governing equations must be of a type that
can be solved analytically.
INTRODUCTION
Programming
• If the problem is solved numerically, the numerical
method that is used for the solution must be selected.
• For every type of mathematical problem, there are
several numerical techniques that can be used.
• The techniques differ in accuracy, length of calculations,
and difficulty in programming.
• Once a numerical method is selected, it is implemented
in a computer program thru algorithm.
INTRODUCTION
Interpretation of the Solution
• Since numerical solutions are an approximation and
since the computer program that executes the numerical
method might have errors, a numerical solution needs to
be examined closely.
EXAMPLE
If a block with a mass of 𝑚 is being pulled by a force 𝐹
applied at an angle of 𝜃°. What is the relationship of the
applied force and the angle?
EXAMPLE
At vertical motion: Note:
𝐹𝐹 ≤ 𝜇𝐹𝑁
𝐹𝑦 = 0 𝐹𝐹
𝐹𝑁 =
𝐹𝑁 + 𝐹𝑦 − 𝐹𝑔 = 0 𝜇
𝐹𝑁 = 𝐹𝑔 − 𝐹𝑦
Hence:
𝐹𝑁 = 𝑚𝑔 − 𝐹 sin 𝜃 𝐹𝐹
= 𝑚𝑔 − 𝐹 sin 𝜃
𝜇
𝐹𝐹 = 𝜇 𝑚𝑔 − 𝐹 sin 𝜃
EXAMPLE
At horizontal motion: 𝐹=
𝜇𝑚𝑔
𝐹𝐹 ≤ 𝐹𝑥 cos 𝜃 + 𝜇 sin 𝜃
𝐹𝑥 = 𝐹 cos 𝜃
thus,:
𝐹 cos 𝜃 = 𝜇 𝑚𝑔 − 𝐹 sin 𝜃
𝐹 cos 𝜃 = 𝜇𝑚𝑔 − 𝜇𝐹 sin 𝜃
𝐹 cos 𝜃 + 𝜇𝐹 sin 𝜃 = 𝜇𝑚𝑔
𝐹 cos 𝜃 + 𝜇 sin 𝜃 = 𝜇𝑚𝑔
EXAMPLE
For a given value of 𝐹, the angle that is required for moving
the block can be determined by solving the previous equation
for 𝜃.
MATHEMAMTICAL
MODELING
INTRODUCTION
A mathematical model can be broadly
defined as a formulation or equation that
expresses the essential features of a physical
system or process in mathematical terms.
𝑚 𝑐Τ 𝑡
𝑣 𝑡 =𝑔 1 − 𝑒− 𝑚
𝑐
INTRODUCTION
Time (s) Velocity (m/s)
𝑚 − 𝑐Τ𝑚 𝑡
𝑣 𝑡 =𝑔 1−𝑒 0 0.00
𝑐
2 16.42
68.1 4 27.80
12.5ൗ
𝑣 𝑡 = 9.81 1 − 𝑒− 68.1 𝑡 6 35.68
12.5
8 41.14
𝑣 𝑡 = 53.44 1 − 𝑒 −0.1836𝑡 10 44.92
20 52.08
30 53.22
40 53.41
∞ 53.44
INTRODUCTION
INTRODUCTION
𝑑𝑣 𝑐
=𝑔− 𝑣
𝑑𝑡 𝑚
𝑑𝑣 ∆𝑣 𝑣 𝑡𝑖+1 − 𝑣 𝑡𝑖
= =
𝑑𝑡 ∆𝑡 𝑡𝑖+1 − 𝑡𝑖
𝑣 𝑡𝑖+1 − 𝑣 𝑡𝑖 𝑐
= 𝑔 − 𝑣 𝑡𝑖
𝑡𝑖+1 − 𝑡𝑖 𝑚
𝑐
𝑣 𝑡𝑖+1 − 𝑣 𝑡𝑖 = 𝑔 − 𝑣 𝑡𝑖 𝑡𝑖+1 − 𝑡𝑖
𝑚
𝑐
𝑣 𝑡𝑖+1 = 𝑣 𝑡𝑖 + 𝑔 − 𝑣 𝑡𝑖 𝑡𝑖+1 − 𝑡𝑖
𝑚
INTRODUCTION
𝑐 Time (s) Velocity (m/s)
𝑣 𝑡𝑖+1 = 𝑣 𝑡𝑖 + 𝑔 − 𝑣 𝑡𝑖 𝑡𝑖+1 − 𝑡𝑖
𝑚 0 0.00
𝑣 𝑡𝑖 = 0 2 19.62
12.5 4 32.04
𝑣 𝑡𝑖+1 = 0 + 9.81 − (0) 2 − 0
68.1 6 39.90
𝑣 𝑡𝑖+1 = 19.62 8 44.87
12.5 10 48.02
𝑣 𝑡𝑖+2 = 19.62 + 9.81 − (19.62) 4 − 2 20 52.89
68.1
30 53.39
𝑣 𝑡𝑖+2 = 32.04
40 53.439
∞ 53.44
INTRODUCTION
60
50
40
30
20
10
0
Module 01
END