convert the following:- decimal to binary a.345 with solution
Answers
Answer:
(345)10=(101011001)2
#hope it helps you
please mark brainliest
If we convert the decimal number into binary, the number will be .
Given
A decimal number: .
To Find,
The binary form of the given number.
Solution,
The method of finding the binary form of the given number is as follows -
We have to divide the decimal number 345 by 2 and note down the remainder and then divide the quotient by 2 again and again. We need to stop this process when the quotient of a division is 0.
If we divide 345 by 2, the remainder is 1 and the quotient is 172.
If we divide 172by 2, the remainder is 0 and the quotient is 86.
If we divide 86 by 2, the remainder is 0 and the quotient is 43.
If we divide 43 by 2, the remainder is 1 and the quotient is 21.
If we divide 21 by 2, the remainder is 1 and the quotient is 10.
If we divide 10 by 2, the remainder is 0 and the quotient is 5.
If we divide 5 by 2, the remainder is 1 and the quotient is 2.
If we divide 2 by 2, the remainder is 0 and the quotient is 1.
If we divide 1 by 2, the remainder is 1 and the quotient is 0.
Now we will write the remainders of the divisions from the last one to the first. Then the number will be 101011001. This is the binary representation of the decimal number 345.
Hence, if we convert the decimal number into binary, the number will be .
#SPJ2