18,685 views
7 votes
7 votes
6. For what value of p, the binary number 110P/2 represents 25?​

User Kalle Richter
by
3.2k points

2 Answers

26 votes
26 votes

Answer:

01

Explanation:

From decimal to binary;

25/2==> 1 (remainder)

12/2===>0

6/2==>0

3/2===>1

1

=11001

Checking the answer;

11001

=1*2^4+1*2^3+0*2*2+0*1+1*2^0

=1*16+1*8+0+0+1*1

=16+8+0+0+2

=25

User Mikal
by
2.8k points
20 votes
20 votes

Explanation:

25 as binary number is

11001

1×2⁴ + 1×2³ + 0×2² + 0×2¹ + 1×2⁰ = 16 + 8 + 1 = 25

25×2 = 50 = 11001 × 2 = 110010

multiplying a binary number by 2 is the save effect as multiplying a normal decimal number by 10 : all digits move one position to the left, and a 0 is put into the empty right position.

and so, we see

110P = 110010

P = 010

FYI : you normally don't mix binary and decimal numbers. if one of the numbers is binary, then all the others have to be binary too.

so, the problem should have looked like

110P/10 = 11001

110P = 11001×10 = 110010

P = 010

User JimSampica
by
3.0k points