Ipower web hosting - 1282 Number Systems Appendix B To convert hexadecimal
1282 Number Systems Appendix B To convert hexadecimal AD3B to decimal 44347, we use the same technique, this time using appropriate hexadecimal positional values as shown in Fig. B.10. B.5 Converting from Decimal to Binary, Octal, or Hexadecimal The conversions of the previous section follow naturally from the positional notation conventions. Converting from decimal to binary, octal or hexadecimal also follows these conventions. Suppose we wish to convert decimal 57 to binary. We begin by writing the positional values of the columns right to left until we reach a column whose positional value is greater than the decimal number. We do not need that column, so we discard it. Thus, we first write: Positional values: 64 32 16 8 4 2 1 Then we discard the column with positional value 64 leaving: Positional values: 32 16 8 4 2 1 Next we work from the leftmost column to the right. We divide 32 into 57 and observe that there is one 32 in 57 with a remainder of 25, so we write 1 in the 32 column. We divide 16 into 25 and observe that there is one 16 in 25 with a remainder of 9 and write 1 in the 16 column. We divide 8 into 9 and observe that there is one 8 in 9 with a remainder of 1. The next two columns each produce quotients of zero when their positional values are divided into 1 so we write 0s in the 4 and 2 columns. Finally, 1 into 1 is 1 so we write 1 in the 1 column. This yields: Positional values: 32 16 8 4 Symbol values: 1 1 1 0 2 0 1 1 and thus decimal 57 is equivalent to binary 111001. To convert decimal 103 to octal, we begin by writing the positional values of the columns until we reach a column whose positional value is greater than the decimal number. We do not need that column, so we discard it. Thus, we first write: Positional values: 51264 8 1 Then we discard the column with positional value 512, yielding: Positional values: 648 1 Converting a hexadecimal number to decimal Positional values: 4096 256 16 1 Symbol values: A D 3 B Products A*4096=40960 D*256=3328 3*16=48 B*1=11 Sum: = 40960 + 3328 + 48 + 11 = 44347 Fig. B.10 Converting a hexadecimal number to decimal.
If you are looking for cheap and quality webhost to host and run your website check Jboss Web Hosting services.