1.1 Introduction To Numerical Methods
1.1 Introduction To Numerical Methods
Numerical Methods 2
1
To solve problems that cannot be solved
exactly
σ 2π ∫e
−∞
dx
−σ µ σ
Numerical Methods 3
Example (2)
dh
dt
(
= Qin − k h / A )
Numerical Methods 4
2
Problem Description
Mathematical Model
Numerical Methods 5
Bascule Bridge
Numerical Methods 6
3
Numerical Methods 7
Hub
Trunnion
Girder
Numerical Methods 8
4
interference fit
Numerical Methods 9
Numerical Methods 10
5
Trunnion Contraction coefficient of thermal
expansion at room
temperature
∆D = D × α × ∆T
outer diameter of change in temperature
D = 12.363" the trunnion
−6
α = 6.47 × 10 in / in / o F
∆T = T fluid − Troom = −108 − 80 = −188° F
But, when the steel trunnion
∆D = (12.363)(6.47 × 10 −6 )(−188) was put in the hub, it got
stuck. Why did this happen?
= −0.01504"
So according to his calculations, immersing the steel trunnion in dry-ice/alcohol mixture gives
the desired contraction of greater than 0.015 ” as the predicted contraction is 0.01504 ”.
Numerical Methods 11
∆D = D × α × ∆T T(oF) α
(µin/in/oF)
-340 2.45
-300 3.07
-220 4.08
∆D = D α ∆T -160 4.72
-80 5.43
0 6.00
40 6.24
α is not
constant
80 6.47
Numerical Methods 12
6
Tc
∆D = D ∫ α (T )dT
Ta
α=f(T)
Numerical Methods 13
Tc
Tc
∆D = D ∫ α (T )dT
Ta
Numerical Methods 14
7
Numerical
integration
Ta = 80oF Tc
∆D = D ∫ α (T )dT
Tc = -108oF Ta
D = 12.363"
Tc Ta
Numerical Methods 15
∆D = D ∫ α (T ) dT
Ta
Ta = 80oF
Tc = -108oF
D = 12.363"
α = −1.2278 × 10 −5 T 2 + 6.1946 × 10 −3 T + 6.0150
∆D = −0.0137" < −0.015"
Numerical Methods 16
8
One solution is to immerse the trunnion in liquid
nitrogen which has a boiling point of -321oF as
opposed to the dry-ice/alcohol temperature of -108oF.
∆D = −0.0244"
Numerical Methods 17
∆D = D ∫ α (T )dT
Ta
Numerical Methods 18
9
Nonlinear Equations
Differentiation
Simultaneous Linear Equations
Curve Fitting
◦ Interpolation
◦ Regression
Integration
Ordinary Differential Equations
Other Advanced Mathematical Procedures:
◦ Partial Differential Equations
◦ Optimization
◦ Fast Fourier Transforms
Numerical Methods 19
R
Diameter=0.11m
Specific Gravity=0.6
10
How much of the floating ball is under the water?
D=0.11m
Hence:
the solution is constrained
0<x<D between 0 and 0.11
0<x<0.11
16 × 104 dv
v(t) = 2200 ln − 9.8t a=
16 × 10 − 5000t
4
dt
Numerical Methods 22
11
What is the acceleration at t=7 seconds?
Time (s) 5 8 12
Vel (m/s) 106 177 600
dv
a=
dt
Numerical
Differentiation
is needed
Numerical Methods 23
Time (s) 5 8 12
Vel (m/s) 106 177 600
v (t ) = at 2 + bt + c, 5 ≤ t ≤ 12
Three simultaneous linear equations
25a + 5b + c = 106
64a + 8b + c = 177
144a + 12b + c = 600
Solving these equs. to evaluate a , b and c
Numerical Methods 24
12
What is the velocity of the rocket at t=7 seconds?
Time (s) 5 8 12
Vel (m/s) 106 177 600
Numerical Methods 25
Numerical Methods 26
13
Numerical Methods 27
T fluid
∆D = D ∫ α dT
Troom
Numerical Methods 28
14
How long does it take a trunnion to cool down?
dT
mc = −hA(T − Ta ), T (0) = Troom
dt
Numerical Methods 29
15