Computer Science, asked by tharakamanaya, 11 months ago

0xAD9 into 3-base representation

Answers

Answered by ExieFansler
0

Answer:

(10210212)₃

Explanation:

First you have to convert the hexadecimal number into a decimal number.This will be done by multiplying AD9 by the respective power of 16.

(AD9)₁₆=Ax16²+Dx16¹+9x16⁰.

=(2777)₁₀.

Now we can convert the decimal number to base 3 number by repeatedly dividing 2777 by 3 and storing the remainder in the reverse order with the last quotient at first digit.

2777/3=925   remainder=2

925/3=308   remainder=1

308/3=102  remainder=2

102/3=34   remainder=0

34/3=11   remainder=1

11/3=3   remainder=2

3/3=1  remainder=0

Base 3 number is (10210212)₃.

Similar questions