1.

How to change from binary to number

Answer» converting a\xa0Binary to Decimal\xa0number would be:\tDecimal Digit Value2561286432168421Binary Digit Value101100101\t\xa0By adding together ALL the decimal number values from right to left at the positions that are represented by a “1” gives us: (256)\xa0+\xa0(64)\xa0+\xa0(32)\xa0+\xa0(4)\xa0+\xa0(1)\xa0=\xa035710\xa0or three hundred and fifty seven as a decimal number.Then, we can convert binary to decimal by finding the decimal equivalent of the binary array of digits\xa01011001012\xa0and expanding the binary digits into a series with a base of 2\xa0giving an equivalent of\xa035710\xa0in decimal or denary.Note that in number conversion systems “subscripts” are used to indicate the relevant base numbering system, 10012\xa0=\xa0910. If no subscript is used after a number, then it is generally assumed to be decimal.Repeated Division-by-2 MethodWe have seen above how to convert binary to decimal numbers, but how do we convert a decimal number into a binary number. An easy method of converting decimal to binary number equivalents is to write down the decimal number and to continually divide-by-2 (two) to give a result and a remainder of either a “1” or a “0” until the final result equals zero.So for example. Convert the decimal number\xa029410\xa0into its binary number equivalent.\tNumber294\xa0Dividing each decimal number by “2” as shown will give a result plus a remainder.If the decimal number being divided is even then the result will be whole and the remainder will be equal to “0”. If the decimal number is odd then the result will not divide completely and the remainder will be a “1”.The binary result is obtained by placing all the remainders in order with the least significant bit (LSB) being at the top and the most significant bit (MSB) being at the bottom.divide by 2result147remainder0 (LSB)divide by 2result73remainder1divide by 2result36remainder1divide by 2result18remainder0divide by 2result9remainder0divide by 2result4remainder1divide by 2result2remainder0divide by 2result1remainder0divide by 2result0remainder1 (MSB)\t\xa0This divide-by-2 decimal to binary conversion technique gives the decimal number\xa029410\xa0an equivalent of\xa01001001102\xa0in binary, reading from right to left. This divide-by-2 method will also work for conversion to other number bases.Then we can see that the main characteristics of a\xa0Binary Numbering System\xa0is that each “binary digit” or “bit” has a value of either “1” or “0” with each bit having a weight or value double that of its previous bit starting from the lowest or least significant bit (LSB) and this is called the “sum-of-weights” method.So we can convert a decimal number into a binary number either by using the sum-of-weights method or by using the repeated division-by-2 method, and convert binary to decimal by finding its sum-of-weights.


Discussion

No Comment Found