Professional Documents
Culture Documents
W0 Add1s
W0 Add1s
Redo all of
these
In
numerical
ways.
, !
If you want your world to change,
you yourself must first change !
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
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)
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
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