Professional Documents
Culture Documents
Able to
Able to apply,
illustrate, Able to Able to solve,
develop, Able to evaluate
outline, identify describe and calculate and
synthesize and problem, construct
and produce basic analyse
PO2 demonstrate concept for engineering and
adopt the computer program
numerical and complete the
some of the some of the mathematical
methods in given problems.
engineering given problems. problems.
finding solutions.
problems.
COGNITIVE Able to Able to adapt a
Able to execute
recognize and Able to given design
and complete
demonstrate the understand the Able to solve concept and
with confidence
various various and analyse perform various
various technical
PO5 techniques of techniques of engineering and
requirements of
technical
numerical the numerical mathematical requirements of
the different civil
analysis and analysis and problems the different civil
engineering
FEM problems FEM engineering
disciplines
only disciplines
Able to analyse Able to
Able to
numerical or synthesize
recognize and Able to build
Finite element engineering
Able to apply the numerical or Finite
problem using problems using
PSYCHOMOTOR PO4 recognize the software
computer the computer
element model,
problem programme run the analysis
software under programme
under constant and evaluate data.
guided without
supervision.
supervision. supervision.
Degree of Open-Ended Lab (OEL)
DEGREE
WAYS & LAB
LEVEL PREAMBLE PROBLEM ANSWERS OF OPEN-
MEANS ACTIVITIES
ENDED
9 TEST -
10 Practical applications of 2-D line elements for 3
beams and frame systems
12 FEA PROJECT 3
DETERMINATION OF
ROOTS OF EQUATION
USING EXCEL
PROGRAMME
1) Using graphical method
Need to plot graph of x (ie. x axis data)
and f(x) (~ y axis data)
From plot, determine the root (at x) from
which f(x) equals zero
4000.0000
3500.0000 7.0
6.0
3000.0000 5.0
4.0
2500.0000 3.0
2.0
2000.0000 1.0
0.0 f(x)
f(x)
1500.0000
-1.0 0.5 0.75 1 1.25 1.5 1.75
-2.0
-3.0
1000.0000
-4.0
-5.0
500.0000 -6.0
-7.0
0.0000
0 1 2 3 4 5
-500.0000 ENLARGE SCALE TO CHECK
POINT OF INTERSECTION
Example: Find the root of f(x) = 2x5 - 3x2 - 5
At A8, insert :
= A7 + 0.5
Copy the cell formula
and paste to B9: B16
The graph can be plotted using Insert menu and selecting Scatter Charts
The root is somewhere between 0 and 2.
Enlarge the plot to see more details.
7.0
Click here
6.0 f(x)
to open 5.0
the panel
4.0
3.0 Minor unit
2.0
1.0
0.0
-1.0 0.5 0.75 1 1.25 1.5 1.75
-2.0
-3.0
-4.0 Major unit
-5.0 between 0.75
-6.0
to 1.0 = 0.25
-7.0
Problem 5.3(a):
Determine the real root of
Determine f(Xl)*f(Xr)
(Substitute Xl and Xr into the function,i.e. equation)
> 0, Xl = Xr < 0, Xu = Xr
& Ea > Es Check f(Xl)* f(Xr)
& Ea < Es
USING IF FUNCTION
This is a concept of branching in a
programming language (if-then-else)
It require 3 arguments:
1 logical expression,
2 numerical expressions
If logical function is true, the first numerical
expression is evaluated,
If false, the second numerical expression is
evaluated.
Example
Say, cell B5 contains a formula
=IF(C1>100,50,C1/2)
Using IF functions
1. To check when f(Xl)*(f(Xr) < 0 or >0
2. To decide next iteration value for Xl = Xr
or Xu = Xr
3. To decide if Ea > Es (continue) OR
Ea < = Es (stop)
4. To state iteration number if the process has
to be repeated according to requirement in
3. above
1) CREATE A TABLE:
Insert all the headings for the Table
2) Define initial guesses of lower and upper roots, xl and xu, respectively
(e.g. at cells C6 and C7, respectively)
3) Define the stopping criterion Es (%)
4) For cell B10: insert = C6, i.e. it will always consider any changes of Xl
directly. Similarly in cell C10, insert = C7 for Xu
5) For respective columns of the table, insert the appropriate commands:
Cell D10 = (B10+C10)/2
Cell E10 = 2*B10^5 3*B10^2 5
Cell F10 = 2*D10^5 3*D10^2 - 5
Contd/-
Cell G10: = E10* F10
Cell H10: To check paired f(Xl)* f(Xr) less or greater than 0
=IF(G10<0, Xu = Xr, Xl = Xr)
OR =IF(G10<0, Xu = Xr, IF(G10>0, Xl = Xr))
NESTED IF FUNCTION
Cell I10 : Determine Ea = {[Xr new Xr old] / Xr new} x 100
= (ABS(D11-D10)) / D11* 100
Cell J10 : Determine if Ea is less than Es; stop iteration. Otherwise, continue.
= IF(I10>$H$6,Continue,Stop)
where Cell H6 contains value of Es
SOLVING SIMULTANEOUS
LINEAR EQUATIONS
1. Using Matrix Functions
OR in general, aij where i represents the equation number (i.e. row number)
and j represents the number of unknown quantity (i.e. column number)
The system of the equations can be presented as a matrix, which is a two-
dimensional array of numbers:
**
2. Using SOLVER ~ available in Data menu
This Excel feature can be used to solve both
linear or nonlinear equations.
Suppose the equations are presented as :
a11 x1 + a12 x2 + . a1n xn = b1 f1 (x1, x2, xn) = 0
a21 x1 + a22 x2 + . a2n xn = b2 f2 (x1, x2, xn) = 0
an1 x1 + an2 x2 + .ann xn = b3 f3 (x1, x2, xn) = 0
=E18/D18
=(E17-(D17*E20))/C17
=(E16-(D16*E20)-(C16*E21))/B16