Convert decimal number 45.5 to binary using sum of weights method
Answers
Answered by
5
To convert given decimal number to binary split it into two parts
one before decimal:
By dividing the number by two in integer form and put remainder aside
2 ) 45 (1
****44
_______
2 ) 22 (0
****22
______
2 )11(1
***10
_______
2 ) 5(1
****4
_______
2)2(0
***2
______
***1
So, 45 is written into binary as 101101
Now conversion of 0.5:
0.5×2 = 1.0
0.0×2= 0.0
So it is .10
Now the complete number is
45.5 decimal = 101101.1 in binary
Verification:
one before decimal:
By dividing the number by two in integer form and put remainder aside
2 ) 45 (1
****44
_______
2 ) 22 (0
****22
______
2 )11(1
***10
_______
2 ) 5(1
****4
_______
2)2(0
***2
______
***1
So, 45 is written into binary as 101101
Now conversion of 0.5:
0.5×2 = 1.0
0.0×2= 0.0
So it is .10
Now the complete number is
45.5 decimal = 101101.1 in binary
Verification:
Similar questions
English,
7 months ago
Math,
7 months ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago
History,
1 year ago
Chinese,
1 year ago
English,
1 year ago