The decimal number has 64 digits. The number of bits needed for its equivalent binary representation is?
why u have taken -1 on both the sides in step 1?
@ponagraj How to solve this type of questions in which log is involved do we need to remember log values.
Suppose n bit binary number requires d digit in decimal representation.
Then relationship can be shown as
Reference :Number of Digit in Binary
how do u create log1o 2? Go detail
Suppose all are 9
means 64 number of 9 , then how do u represent by 213 bits?
yes @Manoj @vijay
I got it
but I think @Manoj u r applying wrong formula
max number of bits in d digit number is floor(log210) +1 =193
I also do this like that
1 bit decimal can be represent in (1 to 4) bit binary
2 bit decimal can be represent in (4 to 7) bit binary
3 bit decimal can be represent in (7 to 10) bit binary
So, n bit decimal can be represent 3⨉n +1 bit binary = 3⨉64+1 =193 bit binary
can u please answer this one
The decimal number has 64 digits. The number of bits needed for its equivalent Octal representation is?
@srestha i am also getting same
check once here
The concept is the maximum number of 10 digit number by 10 digit should be equal to x digit number in base 2.
taking log both side . take log of base 2 so that RHS can become x
64 log10 base2=x