asked 173k views
4 votes
6. For what value of p, the binary number 110P/2 represents 25?​

2 Answers

1 vote

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

answered
User Zolastro
by
7.7k points
4 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

answered
User Apps
by
8.0k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.