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.

Replies

  • Jyothi Jo
    Jyothi Jo
    Aruwin
    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.

    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,
  • ABCD ABCD
    ABCD ABCD
    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.
  • Ramani Aswath
    Ramani Aswath
    Aruwin
    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.
    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.
    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.

You are reading an archived discussion.

Related Posts

Before you jump on me with 'Are you crazy?' (I am), "Engineers make managers?' and such, please consider. We are analytical, logical, creative and hands on. All good, solid stuff...
People here are crazy about iPhone and iPad. I don’t know why. I’ve see many people are lining up to buy. Now I see the news that iPhone 5 is...
i am doing something with image forensics,and i need some some related tools or softwares.would someone provides me links to download them. thanks very much.
CEans, Since the beginning of CrazyEngineers, we've gathered on '/forum/'. However, keeping in mind the updates and 'cool things' we're planning to bring to you in near future; we switched...
Forget Box Forget Box is a new service for sharing large files and collections of files with just a click or two The free version comes with a few limitations:...