in Digital Logic retagged by
4,739 views
13 votes
13 votes
If $x$ and $y$ are two decimal digits and $(0.1101)_2 = (0.8xy5)_{10}$, the decimal value of $x+y$ is ___________
in Digital Logic retagged by
by
4.7k views

2 Comments

Another quick approach is as follows:

Just count the number of decimal places, and raise 2 to that power. Since there are four decimal places in this question, then the denominator is $2^4$. Then, just calculate the numerator as a binary number, in this case, $(1101)_2=(13)_{10}$

So the final number is $\frac{13}{2^4}=\frac{13}{16}=0.8125$.
7
7
What if question was for base 8?
0
0

3 Answers

12 votes
12 votes
Best answer

Answer: $3$ 

This conversion is just

$\frac{1}{2} + \frac{1}{4} + \frac{1}{16} = \frac{8 + 4 + 1}{16} = \frac{13}{16} = 0.8125$

On comparison we get $x = 1$ and $y = 2.$ Hence, $x+y= 3.$

selected by
13 votes
13 votes

Answer $= 3$

  1. $(0.1)_2 = (0.5)_{10}$
  2. $(0.01)_2 = (0.25)_{10}$
  3. $(0.001)_2 = (0.125)_{10}$
  4. $(0.0001)_2 = (0.0625)_{10}$

$A + B + D \implies (0.1101)_2 = 0.8125$

edited by
1 vote
1 vote

(0.1101)base2=(0.8xy5)base10

(1101)*2^-4=  (8xy5)*10^-4

13*25*25=8125= 8xy5

means x+y=3

 

edited by

1 comment

Nice solution
1
1
Answer:

Related questions