Day 1 - 2024
Day 1 - 2024
Computational Methods
in Civil Engineering
Introduction,
Mathematical Modeling,
Errors
Day 1 1/23/2024
NOTE: These notes are for CE 509 students’ personal use only.
Do not copy or distribute
Numerical Methods
Formulate an engineering or real-world problem as a
mathematical model and solve the model with
arithmetic operations. The mathematical tool to do
this is broadly referred as a numerical method.
• Noncomputer methods: analytical (using
variables), graphical, and calculators.
• Computer methods: numerical methods that
include finite difference and finite element
methods. Commercial software is typically used
for numerical solutions.
Analysis of a Truss
Optimal Design of Tank or Pipe
Cross-Sectional Area of Stream
by Numerical Integration
Optimization (Saturation-Growth
Model for Microbial Kinetics)
Mathematical Modeling and
Engineering Problem solving
Chapter 1
• Requires understanding of engineering systems
–By observation and experiment
–Theoretical analysis and generalization
• Computers are great tools, however, without
fundamental understanding of engineering problems,
they will be useless.
Fig. 1.1
• A mathematical model is represented as a functional
relationship of the form
True error:
Et = true value – approximation
a = (approx. error/approximation)×100%
Error Definitions
a s
f (x ) f (a ) f '(a )(x a )
f ''(a ) f (n )
(a )
(x a ) ...
2
(x a ) Rn
n
2! n!
Taylor Series
f (n 1) ( ) n 1
Rn h h x a
(n 1)!
f (n 1) ( ) n 1
Rn h
(n 1)!
And we write: Rn = O(hn+1)
554 (62)
f (3) f (1) 62 t 100% 111 .191%
554
f (wˆ) f (w ) f (wˆ)
Or:
f (wˆ) f '(wˆ) wˆ
Error Propagation
Where:
f (wˆ) f (w ) f (wˆ)
is an estimate of the error of f(w) and
wˆ w wˆ is an estimate of the error
of w.
For a function of n independent
variables, we have the error
estimate:
f f f
f (wˆ1 ,wˆ2 ,...,wˆn ) ˆ
w 1 ˆ
w 2 ... wˆn
w1 w 2 wn
Error Propagation
Relative error of w:
w wˆ
wˆ
Stability and Condition