Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I am trying to understand number systems: (binary and decimal)

How can I convert the following numbers using the least amount of digits:

  1. $(47)\text{base}-10$ to signed binary.

  2. $(-27)\text{base}-10$ to signed and binary magnitude

  3. $(213)\text{base}-16$ to a 10 base number

Here are my try:

  1. $00101111$

  2. $10011011$ (or 2's complement: $11100101$)

  3. $531$

Am I heading right?

share|improve this question
    
Where is your try, where are the examples...? –  DonAntonio Sep 4 '12 at 3:34

1 Answer 1

These are all correct. For 2, the first is correct according to Wikipedia. Twos' complement is different, which you have also done correctly.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.