Joke Collection Website - Talk about mood - How to convert ternary and hexadecimal? Can you give an example?
How to convert ternary and hexadecimal? Can you give an example?
For example, 4 (decimal) = 1 1 (ternary)-the first 1 (equal to the first power of 3 * 1)+the second 1 (equal to the zeroth power of 3 * 1).
12 (decimal) =40 (ternary)-the first 4 (equal to the first power of 3 *4)+the second 0 (equal to the zeroth power of 3 *0).
As can be seen from this example, ternary is the power of three times that number, and then add up all the results. How much should I multiply it? It depends on power.
12 12 (ternary) = (cubic of 3 *1)+(cubic of 3 * 2)+(cubic of1*1)+(cubic of 3 * 2) =50.
The same is true for hexadecimal.
5432 (hexadecimal) = (3 power of 7 * 5)+(2 power of 7 * 4)+(65438 power of 7+0 power of 3)+(0 power of 7 * 2) = 1934 (decimal).
Change back.
Ternary to decimal and then to heptad.
2 1 12 1 (ternary) =205 (decimal) =4 12 (hexadecimal)
That's the reason. There may be some errors in the data. You can do the math yourself.
- Previous article:How to write an essay about dad (10 articles)
- Next article:What's the cause of butt pain?
- Related articles
- What were the developments of stone carving and wood carving in Chaoshan in Ming and Qing Dynasties?
- Compare the natural environment of ancient Asian and African civilizations, talk about their similarities and their influence on ancient Asian and African civilizations?
- Send a photo of a girl and chat with friends.
- It¡¯s popular that you forget to take your dog with you while walking. Have you ever tried such a ridiculous behavior?
- What did the old man do with his wife and grandson to the traffic police brigade?
- Beautiful sentences in tourist words, talk to your girlfriends about their feelings about life when they travel.
- Talk about the benefits of turning waste into treasure.
- What does Tik Tok mean by drinking to your own wine? Tik Tok cheers for his wine.
- Beautiful sentences suitable for sending friends in summer
- I bought an expensive perfume. How to publish it?