x Turn on thread page Beta
 You are Here: Home

# electronics- How do you work out binary? watch

Announcements
1. 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
2. (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
3. 8 4 2 1
| 0 0 |

8 + 1 = 9 therefore as he correctly pointed out 9 in binary = 1001
4. 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.
5. You should wait until you do some mantissa's and all that bs.
6. (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
7. (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).
8. "There are 10 types of people, those that understand binary and those that don't."
9. 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
10. 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

TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Updated: June 9, 2004
Today on TSR

### Unconditional offer...

But going to get a U!

### Parking fine - what do I do?

Poll

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