If x=11010010 and y= 00100111, then the distance between x and y is
Answers
Answered by
0
10101011
Distance:
Given,
x=11010010
y= 00100111
In this question, we have to find the distance between 11010010 and 00100111.
To find the distance between the two binary numbers, first, we have to convert them into a decimal number. The decimal conversion of 11010010 is 210 and of 00100111 is 39.
Now we will find the difference between the two decimal numbers.
x - y = 210 - 39
x - y = 171
Now we will convert the decimal number 171 into a binary number. The binary equivalent of 171 is 10101011.
Hence, the distance between x and y is 10101011.
Similar questions
Math,
1 month ago
Math,
3 months ago
Computer Science,
3 months ago
English,
10 months ago
Math,
10 months ago