Sistema ternario
Aparència
El sistema ternario, també cridat sistema ternario desbalanceado,[1][2] és un sistema de numeració posicional en que totes les cantitats es representen en base 3, és dir, utilisant només tres sifres: 0, 1 i 2.
Comparació en sistema binario i decimal
[editar | editar còdic]| Ternario | 0 | 1 | 2 | 10 | 11 | 12 | 20 | 21 | 22 | 100 | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Binario | 0 | 1 | 10 | 11 | 100 | 101 | 110 | 111 | 1000 | 1001 | |
| Decimal | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | |
| Ternario | 101 | 102 | 110 | 111 | 112 | 120 | 121 | 122 | 200 | 201 | |
| Binario | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 | 10000 | 10001 | 10010 | 10011 | |
| Decimal | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | |
| Ternario | 202 | 210 | 211 | 212 | 220 | 221 | 222 | 1000 | 1001 | 1002 | |
| Binario | 10100 | 10101 | 10110 | 10111 | 11000 | 11001 | 11010 | 11011 | 11100 | 11101 | |
| Decimal | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | |
Referències
[editar | editar còdic]- ↑ «The Land Before Binary» (en en) (html). Medium. Archivat des d'el original, el 10 de juny de 2018. Consultat el 26 de juny de 2018. «(FYI I’m going to reverse the conventional order baix that the 2⁰ is the left most throughout this post) (...) Once you think about including a third state into the mix there llaure actually a couple of different ways of doing ternary. In addition to {-1,0,1} you could also do {0,1,2} (unbalance ternary) at which point the number 11 would be 2-0-1 (1+1+9). Or you might prefer fractions {0, 1/2, 1}»
- ↑ «The Balanced Ternary Machines of Soviet Russia» (en en) (html). Dev To. Archivat des d'el original, el 21 de novembre de 2016. Consultat el 26 de juny de 2018. «Ternary, or base-3, is a number system in which there llaure three possible values: 0 , 1 and 2 . In balanced ternary, these three possibilities llaure -1, 0 and +1; often simplified to -, 0 and +, respectively. Baix, in its balanced form, we ca think of the ternary values as being "balanced" around the mid-point of 0.»
Referències
[editar | editar còdic]
- Este artícul conté una traducció derivada de «Sistema ternario» de Wikipedia en castellà publicada baix la Llicència de documentació lliure de GNU i la Llicència Creative Commons Reconeiximent-CompartirIgual 4.0 Internacional.