) 0xBAD into 3-base representation
Answers
Answer:
11002201
Explanation:
0x means it is Hexadecimal number
so (BAD)₁₆
B *16^2 + A *16^1 + D*16^0 // ( B=11,A=10,D=13)
11*256 + 10*16 + 13*1
(2989) //Decimal Number
Now Divide by 3 and find Remainder in each term
Divisor Remainder
2989 / 3 996 1
996/3 332 0
332/3 110 2
110/3 36 2
36/3 12 0
12/3 4 0
4/3 1 1
1/3 0 1
Pick Remainder's from back
(11002201)
(BAD)₁₆ = (11002201)₃