You are on page 1of 25

My advice:

dont skip class


full attention in class (bring soul)
revision within 1 week, every weekend (selfnote, remark, summary)
attempt tutorial on your own
ask question/ discussion to clear doubt
book or note? - all the wble upload, what I
deliver
try py
score high in cw assessments

Math for Eng


I, II
Differentiate dy/dx
Integrate
Solve f(x) = 0 e.g. sin(x)=0,
x = n
Find MAX/MIN of f (x)
Find MAX/MIN of f (x,y)
Solve system of linear
equations
x+ yz=9
3x + 2y z = 1
-x y + 9z = 3
Eigenvalue/eigenvector of
matrix
Solve ODE (IVP & BVP)
y+2y + y = 0,
y(0)=0, y(0)=0
Solve PDE

Numerical Methods &


Statistics

Redo all of
these
In
numerical
ways.

A GOOD START LEAD TO HALF


SUCCESS

Only find ways for success but


make no excuses for failure.

, !
If you want your world to change,
you yourself must first change !

Everything has a price and


that price is not necessary
measured in money.
You can get anything you want
if you are willing to pay the
price.

under
over
measure measure
d
d
measured
9.95
10.10
a) error
0.05
-0.1
b) absolute error
0.05
0.1
c) relative error
0.005
-0.01
percentage

Absolute Error versus Percentage/Relative Error

True : 1cm
Measured: 0.95cm
Abs error = 0.05cm
|% err| = 5%

True : 200cm
Measured: 199.95
Abs error = 0.05cm
|% err| = 0.025%
(200 times smaller
than 5%)

a2 b2 = (a+b)
(a-b)

Forward
Backwar
d

Central difference
formula

Example 3
(a)

f 1.02 0.01 f 1.02

8.09 7.04
105
0.01
0.01
f 1.02 f 1.02 0.01 7.04 6.01
f ' 1.02

103
0.01
0.01
f 1.02 0.01 f 1.02 0.01 8.09 6.01
f ' 1.02

104
2 0.01
0.02
f ' 1.02

(b)
104 105
Percentage error for forward difference:
100

104

Percentage error for backward


difference:
Percentage error for central
difference:

0.96

104 103
100 0.96
104
104 104
100 0
104

Trapezoid

Trapezoidal Rule
Simpsons Rule
Xls

y= Ax^2+Bx+C

Simpsons rule

You might also like