KIL1005: Numerical Methods For Engineering: Semester 2, Session 2019/2020
KIL1005: Numerical Methods For Engineering: Semester 2, Session 2019/2020
2
Class schedule
Day Time Location
Thursday 2.00 pm – 5.00 pm BKK3/4
Important:
3
Course Outcomes (VERY IMPORTANT)
1. Describe the numerical methods used for root finding, linear
and non-linear equations, integration, differentiation, ordinary
& partial differential equations (ODE & PDE) and optimisation
problems.
2. Solve problems manually related to roots finding, linear and
non-linear equations, integration, differentiation, ODE, PDE
and optimisation problems using appropriate numerical
method.
3. Write computer programs for root finding, linear and non-linear
equations, integration, differentiation, ODE and PDE.
4
Components of the course
Algorithmic aspects of
numerical methods
Practical use
Applications
of Matlab
References
1. S.C. Chapra & R.P. Canale.
“Numerical Methods for Engineers”,
Extra notes
McGraw-Hill. 7th Edition, 2015.
RM124.80 in Pekan Buku
Exercises
6
› Two important rules to talk to me:
1. Make sure you thought about the problem and have some
analysis to offer together with your question
2. Make sure you can explain you problem or make the question
in one-two sentences.
› Student with less than 80% attendance will be barred from
examination.
•
Notes, assignments, solutions, grades etc. will be posted on
SPECTRUM.
http://spectrum.um.edu.my
Please print the notes yourself before coming to the class.
Homework:
All work will be performed in class. Homework will be assigned
only if students run out of time.
Assessment
› Continous assessment : 50%
– Tests
› Test 1 – Week 7 (20%) MATLAB
› Test 2 – Week 13 (20%)
– Mini project submitted at Week 14 (10%)
Mini project will be submitted in groups (4 students per group)
› Final examination: 50% (Closed-book) – No coding, all theories
and hand calculations
.
9
First Homework
› Update your picture in the spectrum’s website
› Groupings
10
Introduction
• Numerical methods are techniques
by which mathematical problems
are formulated so that they can be
solved with arithmetic operations.
• 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.
› A mathematical model is represented as a functional relationship of the
form
The MATLAB
Workspace
Stores the
The Command Window: variable name
User can enter interactive commands at the and value
command prompt (>>) and it will be executed
on the spot. The Command
It is easier to use script files / M-files History Window
Displays the
commands that
user has entered
14
Getting Help
› Help Browser Other Important Functions
› Type help on the › Type demo to run MATLAB’s
command window built-in demonstrations.
› Using lookfor command › clc : clear the Command
Window’s content.
› clear : clear the variables in
the Workspace
› abort command by typing
control-c
15
Important Programming Pitfalls
› Never use a variable with the same name as a MATLAB
function or command. If you do so, that function or
command will become inaccessible.
› If there is more than one function or command with the
same name, the first one found on the search path will be
executed.
› Never create an M-file with the same name as a MATLAB
function or command.
16