Tuesday, February 9, 2010

Las Vegas Bottomless Mimosabrunch



The binary numbering system is the simplest in positional notation, in use only two digits and the 1 0 ; a reason why this system is used in the computation is simply that the 1 reprecenta ignition and 0 off.


A representation of a binary number is called bit and the set of 8 bits called bytes .


Example:


contains 3 bits 111 = 01001 =
contains 5 bits contain 10111101 = 8 bits or 1 byte





Decimal-Binary Conversion

To express a decimal number to a binary, depends on how much we have in decimal, and from there we deve few positions have such a number in binary and we have to be based on powers of 2, as musestra the following table:








Example:


Divide the decimal number between the highest power in the fit and so on until 0 leave residue, is represented with 1 if the number Divicion fits in, and the 0 if it did not. (The order of the position of the binary numbers is more to the left and lower right)



7 Decimal → Binary → 111 = 2 ^ 2 + 2 ^ 1 + 2 ^ 0 = 4 + 2 + 1 = 7
Decimal → Binary → 11001 25 = 2 ^ 4 + 2 ^ 3 + 2 ^ 2 + 2 ^ 1 + 2 ^ 0 = 16 + 8 + 0 + 0 + 1 = 25




There is also another method more simple for my taste to decimal to binary conversions:





Sources:

http://es. wikipedia.org / wiki / Potencia_de_dos
http://www.fismat.umich.mx/ ~ elizalde/curso/node112.html

0 comments:

Post a Comment