Professional Documents
Culture Documents
HOW TO SURVIVE DURING CES 513 FINAL EXAM (1)
HOW TO SURVIVE DURING CES 513 FINAL EXAM (1)
• 4 QUESTIONS
• ALL TOPICS WILL BE IN THE PAPER
• 3 HOURS DURATION
• USUALLY NEED 1 OR 2 GRAPH PAPER (FoR LINEAR PROGRAMMING TOPIC)
• NO SIMILAR QUESTIONS REPEATED , HOWEVER, SAME CONCEPT CAN BE
REPEATED (SINCE 2015)
• FORMULAS ARE GIVEN IN APPENDIX
• Newton-Raphson
• Second order polynomial equation (Linear curve fitting equation is not given)
• Heuns Method
• Euler Method
• Runge-Kutta 4th order
• Single Trapezoidal Method
• Single Simpson (1/3 and 3/8) Method
• Stiffness Matrix for Beam, Truss and Frame
FORMULA TO BE MEMORIZED
• Curve Fitting (Linear Relationship)
Constant a0 and a1
• R square formula
• Type equation here.
� 2
𝑆𝑆𝑆𝑆 = �(𝑦𝑦𝑦𝑦 − 𝑦𝑦)
NONLINEAR REGRESSION
STUDENT FEEDBACK AFTER CES513 EXAM
• The time is not enough!!!
Q2
Q3
RECOMMENDED ANSWER FOR FEM (PART 1)
(Q1)
• DISCRETISATION
Discretization is the process of dividing the required domain into
several small and finite elements, connected with nodes.
All elements and nodes must be numbered so that we can set up a
matrix of connectivity.
• BOUNDARY CONDITIONS
A condition that is required to be satisfied at all or part of the boundary
of a region in for which the structure to be solved.
• Element equations
RECOMMENDED ANSWER FOR FEM (PART 1)
(Q2 , Q3)
• Domain Discretization
This process includes the assemblage of the overall or global stiffness matrix for
the entire body from the individual element stiffness matrices and the overall or
global forces or load victor from the element nodal vectors. The most common
assemblage technique used is called as the direct stiffness matrix [K].
𝐾𝐾 𝐺𝐺 𝐷𝐷 = 𝐹𝐹
where
𝐾𝐾1
𝐾𝐾2
𝐾𝐾 𝐺𝐺 =
….
𝐾𝐾𝑁𝑁
• Solution of Unknown displacement at nodes
The algebraic equations obtained in the above step are solved for the
unknown displacements. In linear equilibrium equations, this is a
straightforward application of matrix algebra techniques.
POINT COORDINATE
1 (0,8)
P1 P3 2 (0,0)
3 (4,6)
4 (9,0)
P2
P4
• Insert each coordinate to the OBJECTIVE FUNCTION and evaluate its
values
POINT COORDINATE Z = 90X + 110 Y
1 (0,8) 880
2 (0,0) 0
3 (4,6) 1020
4 (9,0) 810
P2
P4
POINT COORDINATE DELTA VALUES
1 (25,40) 1.43750E-03
2 (30,0) 1.14084E-03
3 (150,40) 6.19100E-03
4 (150,0) 5.70420E-03
INTEGRATION TOPIC
Equation Form
𝑏𝑏
� 𝑓𝑓 𝑥𝑥 𝑑𝑑𝑑𝑑
𝑎𝑎 Numeric Form
Integration = Area under the graph f(x)
Y = f(x)
AREA
x=a x=b
INTEGRATION FORMULA
SINGLE RULE
MULTIPLE RULE
SINGLE RULE
MULTIPLE RULE
SINGLE RULE
MULTIPLE RULE
DIFFERENCES BETWEEN TRAPEZOIDAL,
SIMPSON 1/3 AND SIMPSON 3/8
SINGLE TRAPEZOIDAL RULE/FORMULA (n =1)
Area = Trapezoidal Area
= ½ x (left height + right height) x (distance between b and a)
= ½ x (f(a) + f(b)) x ( b-a)
Y = f(x)
f(b)
f(a)
x=a x=b
h= b-a
TO INCREASE ACCURACY OF AREA, WE CAN ADD
MULTIPLE EQUAL SEGMENT IN BETWEEN x=a TO x
= b ( n=2,3,4,5……)
Y = f(x)
f(b)
f(a) f(xi)
x=a xi x=b
h= (b-a)/2n h= (b-a)/2n
SINGLE SIMPSON 1/3 RULE/FORMULA (n =1)
Y = f(x)
x0 = a x1 = (a+b)/2 x2 = b
h = (b-a)/2 h = (b-a)/2
MULTIPLE SIMPSON 1/3 RULE/FORMULA
(MULTIPLE OF 2) (n =2)
Y = f(x)
x0 = a x1 x2 x3 x4 = b
SINGLE SIMPSON 3/8 RULE/FORMULA (n =1)
Y = f(x)
x0 = a x1 x2 x3 = b
MULTIPLE SIMPSON 3/8 RULE/FORMULA
(MULTIPLE OF 3) ( n=2 segments)
Y = f(x)
x0 = a x1 x2 x3 x4 x5 x6 = b
USING ANY NUMERICAL METHOD
No f(x)
given, only
height is
• CAN USE MULTIPLE TRAPEZOIDAL RULE, n = 8 divisions given
• CAN USE COMBINATION OF MULTIPLE TRAPEZOIDAL RULE (n = 6) + SINGLE SIMPSON 1/3 RULE
• CAN USE COMBINATION OF MULTIPLE TRAPEZOIDAL RULE (n= 5) +SINGLE SIMPSON 3/8 RULE
• ANY SUITABLE COMBINATION
f(x) is given,
height
height
height
Plot of y0,y1 and y2
0.1
0.09
0.08
0.07
0.06
0.05
0.04
y1 y2
0.03
0.02
0.01
0
0 0.2 0.4 0.6 0.8 1 1.2
CURVE FITTING
There are several types of question can be asked, but only one will be
in
� 2
𝑆𝑆𝑆𝑆 = �(𝑦𝑦𝑦𝑦 − 𝑦𝑦)
Find the equation of curve fitting using the data in TABLE Q1
SIMULTANEOUS LINEAR EQUATION
• NEED TO MASTER 3 TECHNIQUES
GAUSS ELIMINATION
GAUSS-JORDAN ELIMINATION
BISECTION METHOD
NEWTON-RAPHSON METHOD
STRATEGY ON NON-LINEAR EQUATION
• Understand the problem
• Perform iterations until the actual error is less than the ARE
𝑑𝑑𝑑𝑑
=0
𝑑𝑑𝑑𝑑
𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑
= 2 254 𝑥𝑥 − 1720 = 0
𝑑𝑑𝑑𝑑
x = 1.902 meter
The maximum/minimum Bending moment value of Mbc
𝑀𝑀𝑀𝑀𝑀𝑀𝑀𝑀𝑀𝑀𝑀𝑀𝑀𝑀 𝑜𝑜𝑜𝑜 𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚 𝑀𝑀𝑀𝑀𝑀𝑀 = 452(1.902)2 − 1720 1.902 + 928.8 = -707.48 kNm
Mbc = 10/100 x (maximum negative bending moment by Mbc equation) =0.1 (-707.48) = -70.7487
x F(x)
0 +999.548
1 -208.452
• There is trigonometric function inside this eqn. Ensure that if the input is in
degrees or radian from the question. (If there is no unit for the trigo function, it
is in RADIAN unit, otherwise it is in degree)
• Remember identity : cot(x) = 1/tan(x), sec(x) = 1/cos(x), cosec(x) = 1/sin(x)
• Requirement : To find the numerical value of P/A that satisfy the above eqn
Rearrange the eqn
𝑃𝑃 𝑆𝑆𝑆𝑆𝑆𝑆
=
𝐴𝐴 𝑒𝑒𝑒𝑒 1 𝑃𝑃
1+ sec
𝐾𝐾 2 2𝐾𝐾 𝐴𝐴𝐴𝐴
𝑃𝑃 𝑆𝑆𝑆𝑆𝑆𝑆
=
𝐴𝐴 𝑒𝑒𝑒𝑒 1 𝑃𝑃 1
1+ sec
𝐾𝐾 2 2𝐾𝐾 𝐴𝐴 𝐸𝐸
𝑆𝑆𝑆𝑆𝑆𝑆
𝑋𝑋 =
𝑒𝑒𝑒𝑒 1 1
1+ sec 𝑋𝑋
𝐾𝐾 2 2𝐾𝐾 𝐸𝐸
Substitute the given parameters and simplify
the eqn
205 × 109 𝑁𝑁/𝑚𝑚𝑚
𝑋𝑋 =
0.02 𝑚𝑚 × 0.016 1 1
1+ sec 𝑋𝑋
1 2 1 205 × 109 𝑁𝑁/𝑚𝑚𝑚
2
25 25
205 × 109
𝑋𝑋 =
1 25 1
1+ sec 2 𝑋𝑋
5 205 × 109
2
1 𝑏𝑏𝑏𝑏 3 1
1.4(30) = 𝑏𝑏𝑏𝑏 0.0012
0.035 𝑏𝑏 + 2𝐻𝐻
Assuming that the engineer select b = 2.8 m
2
1 2.8𝐻𝐻 3 1
1.4(30) = 2.8𝐻𝐻 0.0012
0.035 2.8 + 2𝐻𝐻
2
2.8𝐻𝐻 3
42 = 2.5298𝐻𝐻
2.8 + 2𝐻𝐻
2 The interested non-linear
2.8𝐻𝐻 3
𝐹𝐹 𝐻𝐻 = 42 − 2.5298𝐻𝐻 =0 eqn
2.8 + 2𝐻𝐻
Find the lower and upper value
• In the question, there is no value given, so manually to find it by
TRIAL and ERROR method
2
2.8𝐻𝐻 3
𝐹𝐹 𝐻𝐻 = 42 − 2.5298𝐻𝐻 =0
2.8 + 2𝐻𝐻
H F(H)
14 +ve
15 -ve
EULER METHOD
RUNGE-KUTTA 1ST ORDER METHOD
HEUNS METHOD
MIDPOINT METHOD
RUNGE-KUTTA 2ND ORDER
RALSTON METHOD METHOD
• Identify the initial condition of the problem and the ending condition
• Identify the steps required (or assumed suitable one if there is no info)
• Identify the ODE equation (convert the equation in this form dy/dt = f(y,t))
• Perform iteration
IDENTIFY THE TYPE OF ODE SOLUTION, THE INITIAL +
ENDING CONDITION
TYPE OF ODE SOLUTION
Eqn 1
INITIAL CONDITION
Perform iteration starting from initial time, t0, and incremented by h =1 .5 week until
tf = 6 weeks on equation (1)
t0 0 1.5 3 4.5 6 tf
ITERATION COMPUTATION (i=0)
ℎ 𝑑𝑑𝑑𝑑
𝐶𝐶𝑖𝑖+1 = 𝐶𝐶𝑖𝑖 + 𝐾𝐾1 + 𝐾𝐾2 = −0.06𝐶𝐶 = 𝑓𝑓(𝑡𝑡𝑡𝑡, 𝐶𝐶𝐶𝐶)
2 𝑑𝑑𝑑𝑑
= 𝑓𝑓(0, 1 × 107 )
= −0.06 𝐶𝐶0 = −0.06 1 × 107 = −600 × 103 part/m3
Perform iteration starting from initial distance, x0, and incremented by h =0.25 meter
until xf = 0.25 m on equation (1)
x0 0 0.25 0.5 xf
• However, in order to solve the ODE, we must get the expression of
bending moment, M on the beam
5 kNm x
x 5 kNm
10 kN 10 kN
𝑀𝑀 = 5𝑥𝑥 2 − 10𝑥𝑥 + 5
𝑑𝑑𝑑𝑑 5𝑥𝑥 2 −10𝑥𝑥+5 𝑥𝑥 5𝑥𝑥 3 −10𝑥𝑥 2 +5𝑥𝑥
= = = f(x,y)
𝑑𝑑𝑑𝑑 𝐸𝐸𝐸𝐸 𝐸𝐸𝐸𝐸
ITERATION COMPUTATION (i=0)
= 𝑓𝑓(0, 0)
=0
𝐾𝐾2 = f 𝑥𝑥𝑖𝑖 + ℎ, 𝑦𝑦𝑖𝑖 + 𝐾𝐾1 ℎ
= f 𝑥𝑥0 + ℎ, 𝑦𝑦0 + 𝐾𝐾1 ℎ = f(0 + 0.25, 0 + 0(0.25))
5 0.253 − 10 0.252 + 5(0.25) 0.703125
= f 0.25, 0 = =
𝐸𝐸𝐸𝐸 𝐸𝐸𝐸𝐸
0.25 0.703125 0.087890
∴ 𝑦𝑦1 = 0 + 0+ = m
2 𝐸𝐸𝐸𝐸 𝐸𝐸𝐸𝐸
ITERATION COMPUTATION (i=1)