4.5.4.6 Absolute and Relative Errors Flashcards

Be able to calculate the absolute error of numerical data stored and processed in computer systems. AND Be able to calculate the relative error of numerical data stored and processed in computer systems.

1
Q

Rounding Errors

A

Some decimal numbers cannot be represented exactly in binary even with fixed point or floating point, some numbers only can be approximately represented.
For this reason floating point and fixed point may be inaccurate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Absolute Error

A

The actual amount by which the value is inaccurate, calculated by finding the difference between the given and actual value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Relative Error

A

Measure of uncertainty in given value compared to actual value relative to size of given value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Relative Error Formula

A

~ relative error = absolute error/actual value

~ can give a percentage when x by 100

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Relative Error Example

A

12.4 is represented in fixed point binary as 1100.011 calculate relative error as percentage to 4 S.F
~ 0.025 /12.4 x 100 = 0.2016

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Absolute Error Example

A

14.6 is represented as 1110.1 in binary calculate the absolute error
~ 14.6 - 14.5 = 0.1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Errors in relation to magnitude

A

Absolute error of 0.1cm in 50cm is a very small relative error of 0.002% same absolute error of 0.1cm in 1cm is a much larger relative error of 10%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly