0% found this document useful (0 votes)
67 views1 page

Pretvaranje Iz Dekadnog U Oktalni Brojni Sistem Najlakše Je Izvesti Uz Pomoć Hornerove Sheme

The document discusses converting between decimal and octal number systems. It describes Horner's scheme for converting decimal to octal numbers in an easy way using place values. For converting octal to decimal, it uses the definition of place values to directly determine the decimal equivalent. Examples are provided of converting specific numbers between decimal and octal representations.

Uploaded by

mps1255
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views1 page

Pretvaranje Iz Dekadnog U Oktalni Brojni Sistem Najlakše Je Izvesti Uz Pomoć Hornerove Sheme

The document discusses converting between decimal and octal number systems. It describes Horner's scheme for converting decimal to octal numbers in an easy way using place values. For converting octal to decimal, it uses the definition of place values to directly determine the decimal equivalent. Examples are provided of converting specific numbers between decimal and octal representations.

Uploaded by

mps1255
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Pretvaranje iz dekadnog u oktalni brojni sistem najlakše je izvesti uz pomoć Hornerove sheme:

:8
127 7 Dakle, (127)10 = (177)8
15 7
1 1
0

:8
798 6 Dakle, (798)10 = (1436)8
99 3
12 4
1 1
0

:8
1000 0 Dakle, (1000)10 = (1750)8
125 5
15 7
1 1
0

:8
10000 0 Dakle, (10000)10 = (23420)8
1250 2
156 4
19 3
2 2
0

S druge strane, pretvaranje iz oktalnog u dekadni brojni sistem lako se izvodi direktno po definiciji:

(101)8 = 1 ⋅ 82 + 0 ⋅ 81 + 1 ⋅ 80 = 1 ⋅ 64 + 0 ⋅ 8 + 1 ⋅ 1 = 64 + 0 + 1 = (65)10

(757)8 = 7 ⋅ 82 + 5 ⋅ 81 + 7 ⋅ 80 = 7 ⋅ 64 + 5 ⋅ 8 + 7 ⋅ 1 = 448 + 40 + 7 = (495)10

(1000)8 = 1 ⋅ 83 + 0 ⋅ 82 + 0 ⋅ 81 + 0 ⋅ 80 = 1 ⋅ 512 + 0 ⋅ 64 + 0 ⋅ 8 + 0 ⋅ 1 = 512 + 0 + 0 + 0 = (512)10

(4077)8 = 4 ⋅ 83 + 0 ⋅ 82 + 7 ⋅ 81 + 7 ⋅ 80 = 4 ⋅ 512 + 0 ⋅ 64 + 7 ⋅ 8 + 7 ⋅ 1 = 2048 + 0 + 56 + 7 = (2111)10

(77777)8 = 7 ⋅ 84 + 7 ⋅ 83 + 7 ⋅ 82 + 7 ⋅ 81 + 7 ⋅ 80 = 7 ⋅ 4096 + 7 ⋅ 512 + 7 ⋅ 64 + 7 ⋅ 8 + 7 ⋅ 1 =


= 28672 + 3584 + 448 + 56 + 7 = (32767)10

You might also like