View Single Post
Old Sep 29, 2003 | 10:18 PM
  #20  
kochujangflavor's Avatar
kochujangflavor
No MSG please...
 
Joined: Sep 2003
Posts: 160
Likes: 0
From: Atlanta
Default

I can teach you thats if your really want to know...ill just do it im bored anyways.

Lets say we have 10110011

Remember binary is Based 2

So make a list going right to left, start with one and then start x2
example

128 64 32 16 8 4 2 1

If you need more numbers after 128 just x2 that and so on...but our binary number has 8 bits so 128 is ok.

Just put the ones and zeros if you want but dont need to, youll see why soon.
example

128 64 32 16 8 4 2 1
1 0 1 1 0 0 1 1

And just add the numbers with one underneath them

128
32
16
2
+ 1
----
calculator
179

Doing backwards is the same thing

Lets do another number...81

Just make the list again and just fill

128 64 32 16 8 4 2 1

81 cant fill 128 becuase its smaller but it can fill 64
soo put a one under it...
64 32 16 8 4 2 1
1
now substract 81-64=17, now 17 cant fill 32 but it can fill 16 and after that its 17-16=1, now it can only fill 1
64 32 16 8 4 2 1
1 0 1 0 0 0 1
its 81 is 1010001 in binary
Reply