1362 Number Systems (on (Cheapest web hosting) CD) Appendix E positional
Saturday, October 27th, 20071362 Number Systems (on CD) Appendix E positional value, and sum these products. For example, the binary number 110101 is converted to decimal 53 as shown in Fig. E.8. To convert octal 7614 to decimal 3980, we use the same technique, this time using appropriate octal positional values as shown in Fig. E.9. To convert hexadecimal AD3B to decimal 44347, we use the same technique, this time using appropriate hexadecimal positional values as shown in Fig. E.10. E.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: Converting a binary number to decimal Positional values: 32 16 8 4 2 1 Symbol values: 1 1 0 1 0 1 Products: 1*32=32 1*16=16 0*8=0 1*4=4 0*2=0 1*1=1 Sum: = 32 + 16 + 0 + 4 + 0 + 1 = 53 Fig. E.8 Converting a binary number to decimal. Converting an octal number to decimal Positional values: 512 64 8 1 Symbol values: 7 6 1 4 Products 7*512=3584 6*64=384 1*8=8 4*1=4 Sum: = 3584 + 384 + 8 + 4 = 3980 Fig. E.9 Converting an octal number to decimal. 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. E.10Fig. 10 Converting a hexadecimal number to decimal.
Looking for affordable and reliable webhost to host and run your business application? Then look no more and go to servlet web hosting services.