Hey there! Sign in to join this conversationNew here? Join for free
x Turn on thread page Beta

electronics- How do you work out binary? watch

Announcements
    • Thread Starter
    Offline

    0
    ReputationRep:
    question complete code in binary and decimal

    binary number | Decimal number
    0100 | 4
    0111 |?
    ???? |9
    0011|3

    how would i work out the question marks
    Offline

    1
    ReputationRep:
    (Original post by Niz)
    question complete code in binary and decimal

    binary number | Decimal number
    0100 | 4
    0111 |?
    ???? |9
    0011|3

    how would i work out the question marks
    7=?
    1001 = 9
    Offline

    0
    ReputationRep:
    8 4 2 1
    | 0 0 |


    8 + 1 = 9 therefore as he correctly pointed out 9 in binary = 1001
    Offline

    0
    ReputationRep:
    Binary is easy enough. In mathematical terms, each digit of the number represents 2^n, where n is the position of the digit from the right, the first being 0.
    This basicaly means that;
    0001 = 1
    0010 = 2
    0100 = 4
    1000 = 8

    For any other numbers you just add the numbers that are present;

    1111 = 15
    0011 = 3
    1001 = 9

    Hope that helps.
    Offline

    1
    ReputationRep:
    You should wait until you do some mantissa's and all that bs.
    • Thread Starter
    Offline

    0
    ReputationRep:
    (Original post by pal_sch)
    Binary is easy enough. In mathematical terms, each digit of the number represents 2^n, where n is the position of the digit from the right, the first being 0.
    This basicaly means that;
    0001 = 1
    0010 = 2
    0100 = 4
    1000 = 8

    For any other numbers you just add the numbers that are present;

    1111 = 15
    0011 = 3
    1001 = 9

    Hope that helps.
    wht does ^ mean i dont understand cud u xplain more pls
    Offline

    0
    ReputationRep:
    (Original post by Niz)
    wht does ^ mean i dont understand cud u xplain more pls
    It means "to the power of".

    I'd say the simplest way of explaining it is just in terms of place values (columns).

    Base 10 (ordinary numbers):
    Code:
    10000   1000   100   10   1
    etc.

    Base 2 (binary):
    Code:
    64   32   16   8   4   2   1
    etc.

    A number, call it x, in a column represents x times the value of that column.

    So for example in base 10:
    Code:
    
    10000   1000   100   10   1
       1      2     5     6   4      
    
    = 10000 + 2000 + 500 + 60 + 4 
    = 12564
    which is fairly trivial, but the process for binary is the same, so for example:
    Code:
    
    64   32   16   8   4   2   1
     1    0    0   1   1   0   1
    
    = 64 + 8 + 4 + 1
    = 77
    The differences are that in base 10 the columns go up in powers of 10 and there are 10 digits (0-9), while in base 2 they go up in powers of 2 and there are 2 digits (0/1).
    Offline

    1
    ReputationRep:
    "There are 10 types of people, those that understand binary and those that don't."
    • Thread Starter
    Offline

    0
    ReputationRep:
    ok ive figured it out i think anyone can do it: If put into coloums each one has a value

    8 4 2 1 < the values
    1 0 0 1 < the binary code

    whjich ever column has a one the colum value is added so the one for the above is 8 + 1= 9

    well this is all i need to know for my exam they wont aks anythin more complicated i only need to know up to 15 which is 1111
    thanks for the help calum
    • Thread Starter
    Offline

    0
    ReputationRep:
    ok ive figured it out i think anyone can do it: If put into colums each one has a value

    8 4 2 1 < the values
    1 0 0 1 < the binary code

    whjich ever column has a one the column value is added so the one for the above is 8 + 1= 9

    well this is all i need to know for my exam they wont aks anythin more complicated i only need to know up to 15 which is 1111
    thanks for the help calum
 
 
 
Poll
Do you agree with the proposed ban on plastic straws and cotton buds?

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.