Beruflich Dokumente
Kultur Dokumente
and
Different Types of Errors
Dr. P. DHANUMJAYA
Department of Mathematics
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Note
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Note
Dr. P. Dhanumjaya
Note
Dr. P. Dhanumjaya
Example 1
Dr. P. Dhanumjaya
Example 1
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
dn+1 < 1.
Dr. P. Dhanumjaya
dn+1 < 1.
Dr. P. Dhanumjaya
dn+1 < 1.
Dr. P. Dhanumjaya
dn+1 < 1.
Dr. P. Dhanumjaya
dn+1 < 1.
Dr. P. Dhanumjaya
Note 3
Note that
(0.d1 d2 d3 dn ) =
d1
d2
dn
+ 2 + + n.
1
Dr. P. Dhanumjaya
Note 3
Note that
(0.d1 d2 d3 dn ) =
d1
d2
dn
+ 2 + + n.
1
Dr. P. Dhanumjaya
Definition of Errors
Dr. P. Dhanumjaya
Definition of Errors
Dr. P. Dhanumjaya
Definition of Errors
Dr. P. Dhanumjaya
Definition of Errors
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
| x fl(x) |
.
|x|
Dr. P. Dhanumjaya
| x fl(x) |
.
|x|
Dr. P. Dhanumjaya
| x fl(x) |
.
|x|
Dr. P. Dhanumjaya
| x fl(x) |
.
|x|
Dr. P. Dhanumjaya
| x fl(x) |
.
|x|
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Dr. P. Dhanumjaya
Example
Dr. P. Dhanumjaya
Example
Dr. P. Dhanumjaya
Example
Dr. P. Dhanumjaya
Theorem 1
Let fl(x) be n floating-point representation of a real number
x and
x fl(x)
= ,
x
then
1
||
1 n+1
, if rounding is used.
Dr. P. Dhanumjaya
Theorem 1
Let fl(x) be n floating-point representation of a real number
x and
x fl(x)
= ,
x
then
1
||
1 n+1
, if rounding is used.
Dr. P. Dhanumjaya
Theorem 1
Let fl(x) be n floating-point representation of a real number
x and
x fl(x)
= ,
x
then
1
||
1 n+1
, if rounding is used.
Dr. P. Dhanumjaya
Theorem 1
Let fl(x) be n floating-point representation of a real number
x and
x fl(x)
= ,
x
then
1
||
1 n+1
, if rounding is used.
Dr. P. Dhanumjaya
Proof
We take
x = (0.d1 d2 d3 dn dn+1 ) e
then fl(x) when chopping is used is
fl(x) = (0.d1 d2 d3 dn ) e
We now consider the positive real number case. In case of
negative real number case there is no change in the sign of .
Dr. P. Dhanumjaya
Proof
We take
x = (0.d1 d2 d3 dn dn+1 ) e
then fl(x) when chopping is used is
fl(x) = (0.d1 d2 d3 dn ) e
We now consider the positive real number case. In case of
negative real number case there is no change in the sign of .
Dr. P. Dhanumjaya
Proof
We take
x = (0.d1 d2 d3 dn dn+1 ) e
then fl(x) when chopping is used is
fl(x) = (0.d1 d2 d3 dn ) e
We now consider the positive real number case. In case of
negative real number case there is no change in the sign of .
Dr. P. Dhanumjaya
Proof
We take
x = (0.d1 d2 d3 dn dn+1 ) e
then fl(x) when chopping is used is
fl(x) = (0.d1 d2 d3 dn ) e
We now consider the positive real number case. In case of
negative real number case there is no change in the sign of .
Dr. P. Dhanumjaya
Proof
We take
x = (0.d1 d2 d3 dn dn+1 ) e
then fl(x) when chopping is used is
fl(x) = (0.d1 d2 d3 dn ) e
We now consider the positive real number case. In case of
negative real number case there is no change in the sign of .
Dr. P. Dhanumjaya
Calculating
x fl(x) = (0.000 0dn+1 ) e .
Let = 1, then
0 x fl(x) (0.000 0 ) e
h
i
= n1 + n2 + e
n1
e = n+e .
=
1 1
Dr. P. Dhanumjaya
Calculating
x fl(x) = (0.000 0dn+1 ) e .
Let = 1, then
0 x fl(x) (0.000 0 ) e
h
i
= n1 + n2 + e
n1
e = n+e .
=
1 1
Dr. P. Dhanumjaya
Calculating
x fl(x) = (0.000 0dn+1 ) e .
Let = 1, then
0 x fl(x) (0.000 0 ) e
h
i
= n1 + n2 + e
n1
=
e = n+e .
1 1
Dr. P. Dhanumjaya
Calculating
x fl(x) = (0.000 0dn+1 ) e .
Let = 1, then
0 x fl(x) (0.000 0 ) e
h
i
= n1 + n2 + e
n1
=
e = n+e .
1 1
Dr. P. Dhanumjaya
Now
0
x fl(x)
x
n+e
(0.d1 d2 dn dn+1 ) e
n
= n+1 .
(0.100 )
Dr. P. Dhanumjaya
Now
0
x fl(x)
x
n+e
(0.d1 d2 dn dn+1 ) e
n
= n+1 .
(0.100 )
Dr. P. Dhanumjaya
Now
0
x fl(x)
x
n+e
(0.d1 d2 dn dn+1 ) e
n
= n+1 .
(0.100 )
Dr. P. Dhanumjaya
Propagation of Errors
y = y + .
Dr. P. Dhanumjaya
Propagation of Errors
y = y + .
Dr. P. Dhanumjaya
Propagation of Errors
y = y + .
Dr. P. Dhanumjaya
Propagation of Errors
y = y + .
Dr. P. Dhanumjaya
xy x y
= +
xy
y
x
xy
= rx + ry rx ry .
Dr. P. Dhanumjaya
xy x y
= +
xy
y
x
xy
= rx + ry rx ry .
Dr. P. Dhanumjaya
xy x y
= +
xy
y
x
xy
= rx + ry rx ry .
Dr. P. Dhanumjaya
xy x y
= +
xy
y
x
xy
= rx + ry rx ry .
Dr. P. Dhanumjaya
xy x y
= +
xy
y
x
xy
= rx + ry rx ry .
Dr. P. Dhanumjaya
xy x y
= +
xy
y
x
xy
= rx + ry rx ry .
Dr. P. Dhanumjaya
=
=
=
x
y
x
y
x
y
x
y
x
y
x
y
y x
.
xy 1 y
Dr. P. Dhanumjaya
=
=
=
x
y
x
y
x
y
x
y
x
y
x
y
y x
.
xy 1 y
Dr. P. Dhanumjaya
=
=
=
x
y
x
y
x
y
x
y
x
y
x
y
y x
.
xy 1 y
Dr. P. Dhanumjaya
=
=
=
x
y
x
y
x
y
x
y
x
y
x
y
y x
.
xy 1 y
Dr. P. Dhanumjaya
Note
Dr. P. Dhanumjaya
=
=
(x y) (x y )
x y
x x x
y y y
.
x
x y
y
x y
This gives
rxy = rx
x
y
ry
.
x y
x y
Dr. P. Dhanumjaya
=
=
(x y) (x y )
x y
x x x
y y y
.
x
x y
y
x y
This gives
rxy = rx
x
y
ry
.
x y
x y
Dr. P. Dhanumjaya
=
=
(x y) (x y )
x y
x x x
y y y
.
x
x y
y
x y
This gives
rxy = rx
x
y
ry
.
x y
x y
Dr. P. Dhanumjaya
=
=
(x y) (x y )
x y
x x x
y y y
.
x
x y
y
x y
This gives
rxy = rx
x
y
ry
.
x y
x y
Dr. P. Dhanumjaya
Note
Dr. P. Dhanumjaya
Note
Dr. P. Dhanumjaya
Note
Dr. P. Dhanumjaya
Example
22
7
and y = 3.1429.
We have
x x 7.35 106 ,
y y 4.29 105 .
Dr. P. Dhanumjaya
Example
22
7
and y = 3.1429.
We have
x x 7.35 106 ,
y y 4.29 105 .
Dr. P. Dhanumjaya
2.34 106
ry
1.36 105 .
Dr. P. Dhanumjaya
2.34 106
ry
1.36 105 .
Dr. P. Dhanumjaya
2.34 106
ry
1.36 105 .
Dr. P. Dhanumjaya
2.34 106
ry
1.36 105 .
Dr. P. Dhanumjaya
2.34 106
ry
1.36 105 .
Dr. P. Dhanumjaya
Note
Dr. P. Dhanumjaya
Note
Dr. P. Dhanumjaya
b2 4ac
.
2a
Dr. P. Dhanumjaya
Example
Dr. P. Dhanumjaya
Example
Dr. P. Dhanumjaya
Example
Dr. P. Dhanumjaya
Example
Dr. P. Dhanumjaya
Example
Dr. P. Dhanumjaya
Example
Dr. P. Dhanumjaya
THANK YOU...
Dr. P. Dhanumjaya