• We need your support!

    We are currently struggling to cover the operational costs of Xtremepapers, as a result we might have to shut this website down. Please donate if we have helped you and help make a difference in other students' lives!
    Click here to Donate Now (View Announcement)

how to convert bits to number

Xam

Messages
112
Reaction score
0
Points
26
how do we convert bits to numbers like convert this 0101
n 8 to 0101
 
Messages
234
Reaction score
7
Points
28
Look some examples
1.bin no = 0001
deciman no = 1*1+ 0*2+0*4+0*16 =1

2.bin no= 0010
deciman no = 0*1+ 1*2+ 0*4+0*16 =2

3.bin no= 0100
decimal no = 0*1+0*2+1*4+0*16 =4

4.bin no= 1000
decimal no = 0*0+0*0+0*0+1*16 = 16

so look at the numbers being multiplied from left most it is 1,2,4,16,32....
u can also use calculator with base function
hpoe this helped
 
Messages
582
Reaction score
113
Points
53
use da fig 8421 ... write it n below it rite da bit such as 8421
1011
now add da no.s beneath which u ve written 1 and dat is ur analogue signal ... like here it is 8+2+1 = 11
eaxy isnt it!!!!!!!!!
 
Top