Altavoces nativos del esperanto

See also: Binary

The binary system is a Numbering system using the bases 2. One usually names bit (of the English binary digit , that is to say “binary digit”) the Chiffre S of the binary notation. Those Ci can take only two values, noted by convention 0 and 1.

Conversions

Enumeration of the first numbers

The first numbers are written: decimal binary 0 0 1 1 2 10 3 11 4 100 5 101 One passes from a binary number to the following by adding 1, as into decimal, without forgetting reserves and by using the tables of following additions: 0+0=0 0+1=1 1+0=1 1+1=10 as follows: 11 + 1 ==== 100 Detail: 1 + 1 = 10 => one poses 0, and retains 1 1 + 1 (reserve) = 10 => one poses 0, and retains 1 0 + 1 (reserve) = 1 => 1

---- The binary Arithmétique (more simply binary calculation) is used by the electronic machines most current (computers, computers, etc) because the presence or the absence of current can be used to represent two figures 0 and 1.

0 represent the closed state

1 represents the open state

Any number can be written into binary (breaks up powers of 2 all in all), for example 35 is broken down into:

32 16 8 4 2 1 1 0 0 0 1 1

One finds there 32,2 and 1 and thus 32+2+1= 35.

Expression of a number

A decimal number with several figures such as 123 is expressed as follows: 1 * 100 (1 * 102) + 2 * 10 (2 * 101) + 3 * 1 (3 * 100) Its representation into binary is 1111011 and is expressed in the same way: 1 * 64 (1 * 26) + 1 * 32 (1 * 25) + 1 * 16 (1 * 24) + 1 * 8 (1 * 23) + 0 * 4 (0 * 22) + 1 * 2 (1 * 21) + 1 * 1 (1 * 20) continuation of 1010-10100

Decimal system towards the binary system

To develop the example above, the number: 45853 writing in decimal base comes from the sum of numbers written hereafter in decimal base. To tell the truth, to propose a method simpler to include/understand, it is necessary to find the power of 2 largest possible lower or equal to the starting number. One withdraws from the number of origin (RO) this power, by noting one 1, then one again seeks a multiple (RM) for the remainder (Rr).
  • 1. RO= RM1+ Rr1

  • 2. Rr1=RM2+Rr2
  • 3. Rr2=RM3+Rr3

32.768 1 times 32.768 one even makes 2 multiplied 14 times by him is 215 + 0 0 times 16.384 one even make 2 multiplied 13 times by him is 214 + 8.192 1 times 8.192 idem 12 idem 213 + 4.096 1 times 4.096 idem 11 idem 212 + 0 0 times 2.048 idem 10 idem 211 + 0 0 times 1.024 idem 9 idem 210 + 512 1 times 512 idem 8 idem 29 + 256 1 times 256 idem 7 idem 28 + 0 0 times 128 idem 6 idem 27 + 0 0 times 64 idem 5 idem 26 + 0 0 times 32 idem 4 idem 25 + 16 1 times 16 idem 3 idem 24 + 8 1 times 8 idem 2 idem 23 + 4 1 times 4 idem 1 idem 22 + 0 0 times 2 idem 0 idem 21 = 2 + 1 1 time 1 20 = 1 =45 853

That is to say written in positional system and decimal notation (by writing the powers of 2): 45.853 = 1×215 + 0×214 + 1×213 + 1×212 + 0×211 + 0×210 + 1×29 + 1×28 + 0×27 + 0×26 + 0×25 + 1×24 + 1×23 + 1×22 + 0×21 + 1×20

Maybe in positional system and binary notation since the powers of 2 are not deferred 45.853 decimal is written 1011 0011 0001 1101 binary (separated by groups of 4 bits to air the reading). This number requires 16 bits for its writing (it lies between 215 and 216).

The other method to convert a decimal number bases 2 of them is to use successions of divisions by number 2. Thus, one a:

45853/2 = 22926 remainder 1 22926/2 = 11463 remainder 0 11463/2 = 5731 remainder 1 5731/2 = 2865 remainder 1 2865/2 = 1432 remain 1 1432/2 = 716 remainder 0 716/2 = 358 remainder 0 358/2 = 179 remainder 0 179/2 = 89 remainder 1 89/2 = 44 remainder 1 44/2 = 22 remainder 0 22/2 = 11 remainder 0 11/2 = 5 remainder 1 5/2 = 2 remainder 1 2/2 = 1 remainder 0 1/2 = 0 remainder 1 That is to say (by reading the remainders obtained in opposite direction): 1011001100011101

Between bases 2,8 and 16

Binary worms octal or hexadecimal

Bases 8 (octal) and 16 (hexadecimal) are multiple bases of base 2. These two bases were usually employed in data processing and for practical reasons; these bases being strongly related to base 2 and the numbers written in these bases being more " manipulables" (because of shorter writing) by human intellect. The writing of numbers in these bases is easily obtained by regrouping of figures of the writing of the number bases 2 of them.
  • Octal: base 8: 8 = 2^3, it is enough to gather starting from the line and per packages of 3 the binary digits (see Bāguà). Each package of 3 (the last having to be sometimes supplemented by 0 on the left), being the binary writing of a figure bases 8 of them (08=000, 18=001, 28=010, 38=011, 48=100, 58=101, 68=110, 78=111).

*101011011102 will be written 10.101.101 110 and by converting the value of each block into an octal digit, one obtains the octal number 25568.
  • Hexadecimal: base 16: 16 = 2^4, therefore one gathers starting from the line and per packages of 4 the binary digits. Each package of 4 bits being the binary representation of a figure bases 16 of them. One thus needs 16 digits, it was decided to use the 10 decimal digits plus the first 6 characters of the alphabet with following convention: A16=1010=10102, B16=1110=10112, C16=1210=11002, D16=1310=11012, E16=1410=11102 and F16=1510=11112.

*101011011102 will be written 101 0110 1110 and by converting the value of each block into decimal one obtains: 5,6,14 i.e. 56E16.

One could easily extend this principle to all the bases which are powers of 2.

Towards the binary one

It is enough to convert the value of each figure in their binary format.

*1A2F16 will be written 1,10=8+2, 2,15=8+4+2+1 is 1  1010  0010  11112
*1568 will be written 1,5=4+1, 6=4+2 is 1  101  1102

Count of the values of the groupings of binary digits

|

|}

See too

External bonds

Simple: Numeral Binary system

Random links:Gold medal of the Canadian Council of the engineers | Maximum Supergravity | Tournament of Wimbledon 1888 | 1924 in France | Pierre Mulele