Computer Science
Convert the following binary number to its decimal equivalent:
(1010110)2 to ( )10
Number System
13 Likes
Answer
| Binary No | Power | Value | Result |
|---|---|---|---|
| 0 (LSB) | 20 | 1 | 0x1=0 |
| 1 | 21 | 2 | 1x2=2 |
| 1 | 22 | 4 | 1x4=4 |
| 0 | 23 | 8 | 0x8=0 |
| 1 | 24 | 16 | 1x16=16 |
| 0 | 25 | 32 | 0x32=0 |
| 1 (MSB) | 26 | 64 | 1x64=64 |
Equivalent decimal number = 2 + 4 + 16 + 64 = 86
Therefore, (1010110)2 = (86)10
Answered By
5 Likes