Computer Science, asked by 15ramsingh1515, 5 hours ago

convert decimal to binary : 145​

Answers

Answered by anindyaadhikari13
2

Answer.

  • The binary equivalent of (145)₁₀ is (1001 0001)₂

Solution.

Given decimal number - (145)₁₀

Conversion is given as follows -

\boxed{\begin{array}{c|c|c}\tt2&\tt145&\\ \tt2&\tt72&\tt1\\ \tt2&\tt36&\tt0\\ \tt2&\tt18&\tt0\\ \tt2&\tt9&\tt0\\ \tt2&\tt4&\tt1\\ \tt2&\tt2&\tt0\\ \tt2&\tt1&\tt0\\ &\tt0&\tt1\end{array}}

Now, write the remainders obtained from bottom to top.

> (145)₁₀ = (1001 0001)₂ (Answer)

Steps To Solve.

  1. Repeatedly divide the number by 2 until the quotient is not equal to 0.
  2. Write the remainders obtained on the right side.
  3. Now, arrange the digits from bottom to top. Result obtained will be the binary equivalent of the decimal number.
Similar questions