Coffee Room

Discuss anything here - everything that you wish to discuss with fellow engineers.

12933 Members

Join this group to post and comment.

# conversion of base numbers

Somebody please help me with this. I need explanations and working.

85(base 10) 85/8=10.......5

10/8=1.........2

1/8 =0.........1

Answer: 125(base 8)

Why does the coversion of base numbers can be correctly calculated by the method above?Prove it.

85(base 10) 85/8=10.......5

10/8=1.........2

1/8 =0.........1

Answer: 125(base 8)

Why does the coversion of base numbers can be correctly calculated by the method above?Prove it.

AruwinSomebody please help me with this. I need explanations and working.

85(base 10) 85/8=10.......5

10/8=1.........2

1/8 =0.........1

Answer: 125(base 8)

Why does the coversion of base numbers can be correctly calculated by the method above?Prove it.

I didn't found any proof for this but logically it can be presented , for example if u take the decimal number 85 its binary equivalent is 1010101 converting to octal is nothing but grouping three bits and usually its answer is 125 but for large numbers it is quite difficult to convert to binary and group each three bits so the above method is used.Basically base conversions are used for the ease of the operator who operates computer because computer can understand only binary bits we need conversions to understand . For binary equivalent we use 0 and 1 and for octal equivalent we use 0 to 7 .So to check the binary equivalent of 85 we divide it by 2 and remainder whether it is 0 or 1 is noted from LSD to MSD (remainders )

similarly in the case division by octal,we divide by 8 and find the remainders from 0 to 7 and then convert them to binary .In octa and hexa, arithmetic operations are not done directly first they are converted to binary and are done.

Hence to convert a decimal integer to octal ,successively divide the given decimal number by 8 till the quotient is zero. The last remainder is MSB . The remainders read from bottom to top to give octa-equivalent. For brief understanding refer Switching Theory and Logic Design-by Anandkumar, A.P Godse,

consider converting decimal to binary: 6 to binary

2|6...0

2|3...1

1

So the method you've used above is similar to what you use to convert from decimal to octal. I Hope this helps.

2|6...0

2|3...1

1

So the method you've used above is similar to what you use to convert from decimal to octal. I Hope this helps.

The position refers to powers of the base. The right most is base^0. The next left one is base ^1, the next left base^2 and so on.AruwinSomebody please help me with this. I need explanations and working.

85(base 10) 85/8=10.......5

10/8=1.........2

1/8 =0.........1

Answer: 125(base 8)

Why does the coversion of base numbers can be correctly calculated by the method above?Prove it.

By this 85 in base 10 equals 5 x 10^0 + 8 x 10^1 =5 + 80 = 85

125 in base 8 = 5 x 8^0 + 2 x 8^1 + 1 x 8^2 = 5 + 16 +64 (in base 10) = 85

When you divided 85 by 8, the remainder = 5, which goes to the rightmost position. Next when you divided 10 by 8 the remainder = 2, which goes to the next left position. What is remaining is 1, which when you divide by 8 again remains behind to occupy the first position.