0% found this document useful (0 votes)
7 views

Assignment 1

Uploaded by

akech1326
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Assignment 1

Uploaded by

akech1326
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

1 1s 24-bit binary number

.
(2) 0 .

using

bit
( pool al collcolla
&
>
- 24
11
000

(0
0 .
. =

,
2

%
2" +2- 20 22
=

- 2 + 2 +
2" + 2 + 22 + 2 + 2 + +

= 0 .
09999990464
G

Error
per
tick =
0 . 1-0 9999990464 .
: 9 .

b 5/per
5
tick

tick
hours seconds there is a

(b) 100 = 360 , 000 +

of
every 1/10 a

ticks Second
360000 = 3600000
0 = 8

tis the
3 6020 is x 9 .
536x108 , :

Oue296s
S
lick Cumulative
error

after 100
Mach I
speed is 686 m/s
hours
Distances speed x time

=
686m/y -
0 .

3432969 = 23
am
is now for the
sard missle travels in

that time
This is a round-off error or truncation error that has
accumulated over time into a big error. Caused by the
(4 lack of precision from calculations done by a
computer. A simple way to avoid this is by using
double or long double precision floating point
numbers which allow for much more accuracy

You might also like