To convert the decimal number 170 into binary:
- Start by dividing the number by 2, keeping track of the quotient and the remainder.
- Continue dividing the quotient by 2 until the quotient is 0.
- The binary equivalent is the remainders read from bottom to top.
Here’s the step-by-step process:
- 170 ÷ 2 = 85, remainder 0
- 85 ÷ 2 = 42, remainder 1
- 42 ÷ 2 = 21, remainder 0
- 21 ÷ 2 = 10, remainder 1
- 10 ÷ 2 = 5, remainder 0
- 5 ÷ 2 = 2, remainder 1
- 2 ÷ 2 = 1, remainder 0
- 1 ÷ 2 = 0, remainder 1
Now, read the remainders from bottom to top:
10101010
So, 170 in binary is 10101010.
